summaryrefslogtreecommitdiffstats
path: root/scripts/automation/trex_control_plane/client_utils/packet_builder.py
diff options
context:
space:
mode:
authorDan Klein <danklei@cisco.com>2015-10-12 09:53:23 +0300
committerDan Klein <danklei@cisco.com>2015-10-12 09:53:23 +0300
commit7482f09b8a5e8945e8b735233ad8f1674e637aef (patch)
treea1588d20c77017f46a3b13dfa82a154f074bb042 /scripts/automation/trex_control_plane/client_utils/packet_builder.py
parenta9ead5815d40dfe42651f6ff2140c94535b6a703 (diff)
cosmetics
Diffstat (limited to 'scripts/automation/trex_control_plane/client_utils/packet_builder.py')
-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)