Changing colored output to use Linux standard colors
This way, the output of packstack which running via Robot Framework will appear well instead of something like "[ [92mDONE[0m ]". Change-Id: I9aa39f56d83550ffd142c98be945364f0090e720
This commit is contained in:
@@ -3,8 +3,8 @@
|
||||
|
||||
STR_MASK = '*' * 8
|
||||
COLORS = {'nocolor': "\033[0m", 'red': "\033[0;31m",
|
||||
'green': "\033[92m", 'blue': "\033[94m",
|
||||
'yellow': "\033[93m"}
|
||||
'green': "\033[32m", 'blue': "\033[34m",
|
||||
'yellow': "\033[33m"}
|
||||
|
||||
|
||||
def color_text(text, color):
|
||||
|
||||
Reference in New Issue
Block a user