Change print to print_err for an error message

Signed-off-by: David Horstmann <david.horstmann@arm.com>
This commit is contained in:
David Horstmann 2023-01-16 18:32:56 +00:00
parent 7d52682958
commit 28d2157002

View file

@ -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