summaryrefslogtreecommitdiffstats
path: root/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_types.py
diff options
context:
space:
mode:
authorimarom <imarom@cisco.com>2017-01-29 17:49:53 +0200
committerimarom <imarom@cisco.com>2017-01-29 18:06:26 +0200
commit42664b05103d0f4a7ed272301051d58d6e8f3737 (patch)
tree42af5feb3fd3603bf085680ba009bff8fc03d66a /scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_types.py
parentacf815dbf67d7a3be8fefd84eea1d25465f71136 (diff)
code review - cont.
Signed-off-by: imarom <imarom@cisco.com>
Diffstat (limited to 'scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_types.py')
-rw-r--r--scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_types.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_types.py b/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_types.py
index 0230db23..7ac508a2 100644
--- a/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_types.py
+++ b/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_types.py
@@ -64,7 +64,7 @@ class RC():
err_count += 1
if len(err_list) < show_count:
err_list.append(format_text(x, 'bold'))
- s = '\n'
+ s = ''
if err_count > show_count:
s += format_text('Occurred %s errors, showing first %s:\n' % (err_count, show_count), 'bold')
s += '\n'.join(err_list)