Skip to content

Commit

Permalink
use an f-string
Browse files Browse the repository at this point in the history
  • Loading branch information
cognifloyd committed Dec 9, 2021
1 parent 0e111b8 commit b911fde
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .circle/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,10 @@ def build_index(path_glob, output_path):
# If an issue is reported on GitHub Actions, update this error message
# to explain common causes and how to fix them.
failed_message = (
', {failed_count} packs failed to update.\n'
f', {failed_count} packs failed to update.\n'
'Please investigate why this failed and report an issue on:\n'
' https://github.com/{exchange_name}/ci\n'
).format(failed_count=failed_count, exchange_name=EXCHANGE_NAME)
f' https://github.com/{EXCHANGE_NAME}/ci\n'
)

print('')
print('Processed %s packs%s.' % (counter, failed_message))
Expand Down

0 comments on commit b911fde

Please sign in to comment.