Cycles tests: Don't proint braces for empty status
This commit is contained in:
parent
99eb13d3f7
commit
d83bcf7071
|
@ -43,7 +43,8 @@ def print_message(message, type=None, status=''):
|
|||
status_text = " FAILED "
|
||||
else:
|
||||
status_text = status
|
||||
print("[{}]" . format(status_text), end="")
|
||||
if status_text:
|
||||
print("[{}]" . format(status_text), end="")
|
||||
print(COLORS.ENDC, end="")
|
||||
print(" {}" . format(message))
|
||||
sys.stdout.flush()
|
||||
|
|
Loading…
Reference in New Issue