diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2021-03-04 17:16:11 -0500 |
---|---|---|
committer | Eli Schwartz <eschwartz@archlinux.org> | 2021-03-04 17:16:11 -0500 |
commit | 6a0fabc6472f49621260de215f128a31ae70219b (patch) | |
tree | 6a67908358a2c5e5baa215fe0201dfe213dd8a01 /tools/dircondenser.py | |
parent | 4340bf34faca7eed8076ba4c388fbe15355f2183 (diff) | |
download | meson-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 'tools/dircondenser.py')
-rwxr-xr-x | tools/dircondenser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/dircondenser.py b/tools/dircondenser.py index b49d80f..9d642d2 100755 --- a/tools/dircondenser.py +++ b/tools/dircondenser.py @@ -48,7 +48,7 @@ def get_entries() -> T.List[T.Tuple[int, str]]: try: numstr = int(number) except ValueError: - raise SystemExit('Dir name {} does not start with a number.'.format(e)) + raise SystemExit(f'Dir name {e} does not start with a number.') entries.append((numstr, rest)) entries.sort() return entries |