summaryrefslogtreecommitdiffstats
path: root/scripts/automation/trex_control_plane/client_utils
diff options
context:
space:
mode:
authorDan Klein <danklei@cisco.com>2015-10-12 09:55:43 +0300
committerDan Klein <danklei@cisco.com>2015-10-12 09:55:43 +0300
commit0951a3e74be22db8726781aae98531668d946656 (patch)
treea1588d20c77017f46a3b13dfa82a154f074bb042 /scripts/automation/trex_control_plane/client_utils
parente6bf849809c1ff84eb887973576611f2457774eb (diff)
merged with master
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)