From a579720005cbaab17a19a47d239623a95e2036ce Mon Sep 17 00:00:00 2001 From: Aarni Koskela Date: Wed, 2 Nov 2022 09:38:38 +0200 Subject: Replace %/.format/concatenation with f-strings where feasible Original conversion suggestions via flynt, edited by hand. --- scripts/generate_authors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/generate_authors.py') 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: -- cgit v1.2.1