analyze_outcomes: code style improvement
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
This commit is contained in:
parent
8d178be66e
commit
f6f64cfd81
1 changed files with 2 additions and 3 deletions
|
@ -690,9 +690,8 @@ def main():
|
|||
test_args = KNOWN_TASKS[task]['args']
|
||||
main_results = test_function(main_results, options.outcomes, test_args)
|
||||
|
||||
main_results.info("Overall results: " + \
|
||||
"{} warnings | ".format(main_results.warning_count) + \
|
||||
"{} errors".format(main_results.error_count))
|
||||
main_results.info("Overall results: {} warnings and {} errors",
|
||||
main_results.warning_count, main_results.error_count)
|
||||
|
||||
sys.exit(0 if (main_results.error_count == 0) else 1)
|
||||
|
||||
|
|
Loading…
Reference in a new issue