diff options
author | Aarni Koskela <akx@iki.fi> | 2022-11-02 09:38:38 +0200 |
---|---|---|
committer | Aarni Koskela <akx@iki.fi> | 2022-11-04 17:26:01 +0200 |
commit | a579720005cbaab17a19a47d239623a95e2036ce (patch) | |
tree | cb3a15033c9256ef6d860a3385c0852939fec7d0 /scripts/generate_authors.py | |
parent | 5fcc2535f96bfce9c1a1ecf9d19a976b9bf6ab6b (diff) | |
download | babel-f-strings.tar.gz |
Replace %/.format/concatenation with f-strings where feasiblef-strings
Original conversion suggestions via flynt, edited by hand.
Diffstat (limited to 'scripts/generate_authors.py')
-rw-r--r-- | scripts/generate_authors.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/generate_authors.py b/scripts/generate_authors.py index 409f24e..e2e3add 100644 --- a/scripts/generate_authors.py +++ b/scripts/generate_authors.py @@ -13,7 +13,7 @@ def get_sorted_authors_list(): def get_authors_file_content(): - author_list = '\n'.join('- %s' % a for a in get_sorted_authors_list()) + author_list = "\n".join(f"- {a}" for a in get_sorted_authors_list()) return ''' Babel is written and maintained by the Babel team and various contributors: |