Remove green color
This commit is contained in:
parent
e598c769d4
commit
47a91c9d8e
@ -49,9 +49,7 @@ def _print_objs_tabular(objs: List, print_colorized: bool) -> None:
|
|||||||
'status': (((Fore.RED if print_colorized else '') +
|
'status': (((Fore.RED if print_colorized else '') +
|
||||||
"LOAD FAILED" + (Style.RESET_ALL if print_colorized else ''))
|
"LOAD FAILED" + (Style.RESET_ALL if print_colorized else ''))
|
||||||
if s['class'] is None
|
if s['class'] is None
|
||||||
else ((Fore.GREEN if print_colorized else '') +
|
else "OK" if names.count(s['name']) == 1
|
||||||
"OK" + (Style.RESET_ALL if print_colorized else ''))
|
|
||||||
if names.count(s['name']) == 1
|
|
||||||
else ((Fore.YELLOW if print_colorized else '') +
|
else ((Fore.YELLOW if print_colorized else '') +
|
||||||
"DUPLICATED NAME" +
|
"DUPLICATED NAME" +
|
||||||
(Style.RESET_ALL if print_colorized else '')))
|
(Style.RESET_ALL if print_colorized else '')))
|
||||||
|
Loading…
Reference in New Issue
Block a user