summaryrefslogtreecommitdiffstats
path: root/scripts/automation/trex_control_plane/client_utils
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/automation/trex_control_plane/client_utils')
-rwxr-xr-xscripts/automation/trex_control_plane/client_utils/packet_builder.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/automation/trex_control_plane/client_utils/packet_builder.py b/scripts/automation/trex_control_plane/client_utils/packet_builder.py
index 1c643335..c687126b 100755
--- a/scripts/automation/trex_control_plane/client_utils/packet_builder.py
+++ b/scripts/automation/trex_control_plane/client_utils/packet_builder.py
@@ -1055,8 +1055,8 @@ class CTRexPktBuilder(object):
def __init__(self, name, layer_type, ok_type, message=''):
self._default_message = "The type of packet layer {layer_name} is of type {layer_type}, " \
"and not of the expected {allowed_type}.".format(layer_name=name,
- layer_type=layer_type,
- allowed_type=ok_type.__name__)
+ layer_type=layer_type,
+ allowed_type=ok_type.__name__)
self.message = message or self._default_message
super(CTRexPktBuilder.PacketLayerTypeError, self).__init__(-13, self.message)