Skip to content

Commit

Permalink
utils: fix 'ACBS Build Successful/Failed' format string
Browse files Browse the repository at this point in the history
  • Loading branch information
eatradish committed Dec 17, 2023
1 parent f82586e commit 5034318
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion acbs/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,8 @@ def print_build_timings(timings: List[Tuple[str, float]], failed_packages: List[
print(full_line_banner('', '='))
for timing in timings:
formatted_timings.append((timing[0], human_time(timing[1])))
print('\t\tACBS Build {}', 'Successful' if not failed_packages else 'Failed')
s = 'Successful' if not failed_packages else 'Failed'
print(f'\t\tACBS Build {s}')
print(full_line_banner('', '='))
if failed_packages:
print("Failed package:")
Expand Down

0 comments on commit 5034318

Please sign in to comment.