summaryrefslogtreecommitdiffstats
path: root/scripts/automation
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/automation')
-rwxr-xr-xscripts/automation/trex_control_plane/client_utils/packet_builder.py4
-rwxr-xr-xscripts/automation/trex_perf.py2
2 files changed, 3 insertions, 3 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)
diff --git a/scripts/automation/trex_perf.py b/scripts/automation/trex_perf.py
index 314a2318..beec5061 100755
--- a/scripts/automation/trex_perf.py
+++ b/scripts/automation/trex_perf.py
@@ -950,7 +950,7 @@ def generate_job_id ():
return (str(int(random.getrandbits(32))))
def print_header ():
- logger.log("--== TTrex Performance Tool v1.0 (2014) ==--")
+ logger.log("--== TRex Performance Tool v1.0 (2014) ==--")
# print startup summary
def log_startup_summary (job_summary):