aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2021-03-04 17:16:11 -0500
committerEli Schwartz <eschwartz@archlinux.org>2021-03-04 17:16:11 -0500
commit6a0fabc6472f49621260de215f128a31ae70219b (patch)
tree6a67908358a2c5e5baa215fe0201dfe213dd8a01 /docs
parent4340bf34faca7eed8076ba4c388fbe15355f2183 (diff)
downloadmeson-6a0fabc6472f49621260de215f128a31ae70219b.zip
meson-6a0fabc6472f49621260de215f128a31ae70219b.tar.gz
meson-6a0fabc6472f49621260de215f128a31ae70219b.tar.bz2
mass rewrite of string formatting to use f-strings everywhere
performed by running "pyupgrade --py36-plus" and committing the results
Diffstat (limited to 'docs')
-rwxr-xr-xdocs/genrelnotes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/genrelnotes.py b/docs/genrelnotes.py
index 70d8915..5dad924 100755
--- a/docs/genrelnotes.py
+++ b/docs/genrelnotes.py
@@ -50,7 +50,7 @@ def generate(from_version, to_version):
'''
Generate notes for Meson build next release.
'''
- ofilename = 'Release-notes-for-{}.md'.format(to_version)
+ ofilename = f'Release-notes-for-{to_version}.md'
with open(ofilename, 'w') as ofile:
ofile.write(RELNOTE_TEMPLATE.format(to_version, to_version))
for snippetfile in glob('snippets/*.md'):