summaryrefslogtreecommitdiffstats
path: root/scripts/automation/trex_control_plane/stl/trex_stl_lib
diff options
context:
space:
mode:
authorimarom <imarom@cisco.com>2017-01-31 10:56:09 +0200
committerimarom <imarom@cisco.com>2017-01-31 10:56:09 +0200
commitbf3b055a278d62596c3a708e05fb4708ac715d5a (patch)
treef2c8013d3546205448edbd415a1c17a5f048bb04 /scripts/automation/trex_control_plane/stl/trex_stl_lib
parent1e7383b9e41520abeaa399f3a7906c7c390bab18 (diff)
identation fix
Signed-off-by: imarom <imarom@cisco.com>
Diffstat (limited to 'scripts/automation/trex_control_plane/stl/trex_stl_lib')
-rw-r--r--scripts/automation/trex_control_plane/stl/trex_stl_lib/utils/text_opts.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/automation/trex_control_plane/stl/trex_stl_lib/utils/text_opts.py b/scripts/automation/trex_control_plane/stl/trex_stl_lib/utils/text_opts.py
index 477d81a6..4c9079ba 100644
--- a/scripts/automation/trex_control_plane/stl/trex_stl_lib/utils/text_opts.py
+++ b/scripts/automation/trex_control_plane/stl/trex_stl_lib/utils/text_opts.py
@@ -134,9 +134,9 @@ def underline(text):
# apply attribute on each non-empty line
def text_attribute(text, attribute):
return '\n'.join(['{start}{txt}{end}'.format(
- start = TEXT_CODES[attribute]['start'],
- txt = line,
- end = TEXT_CODES[attribute]['end'])
+ start = TEXT_CODES[attribute]['start'],
+ txt = line,
+ end = TEXT_CODES[attribute]['end'])
if line else '' for line in ('%s' % text).split('\n')])