identation fix 91/5291/1
authorimarom <[email protected]>
Tue, 31 Jan 2017 08:56:09 +0000 (10:56 +0200)
committerimarom <[email protected]>
Tue, 31 Jan 2017 08:56:09 +0000 (10:56 +0200)
Signed-off-by: imarom <[email protected]>
scripts/automation/trex_control_plane/stl/trex_stl_lib/utils/text_opts.py

index 477d81a..4c9079b 100644 (file)
@@ -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')])