Change print to print_err for an error message
Signed-off-by: David Horstmann <david.horstmann@arm.com>
This commit is contained in:
parent
7d52682958
commit
28d2157002
1 changed files with 1 additions and 1 deletions
|
@ -158,7 +158,7 @@ def fix_style(src_file_list: List[str]) -> int:
|
||||||
# Guard against future changes that cause the codebase to require
|
# Guard against future changes that cause the codebase to require
|
||||||
# more passes.
|
# more passes.
|
||||||
if not check_style_is_correct(src_file_list):
|
if not check_style_is_correct(src_file_list):
|
||||||
print("Code style still incorrect after second run of Uncrustify.")
|
print_err("Code style still incorrect after second run of Uncrustify.")
|
||||||
return 1
|
return 1
|
||||||
else:
|
else:
|
||||||
return 0
|
return 0
|
||||||
|
|
Loading…
Reference in a new issue