diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-09-26 13:00:56 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-09-26 13:03:05 +0200 |
commit | e907b0f04354873316311072da572943abb6281a (patch) | |
tree | 1f8129299e812a3aa2fe5e1e9a9c823ce58772c7 /utils/gen_fast_manifest.py | |
parent | 572da07948b921feb35af5b098f50af7d8dea99a (diff) | |
download | gemato-e907b0f04354873316311072da572943abb6281a.tar.gz |
Modernize via pyupgrade
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'utils/gen_fast_manifest.py')
-rwxr-xr-x | utils/gen_fast_manifest.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/utils/gen_fast_manifest.py b/utils/gen_fast_manifest.py index d7c8c51..002f8c5 100755 --- a/utils/gen_fast_manifest.py +++ b/utils/gen_fast_manifest.py @@ -1,7 +1,6 @@ #!/usr/bin/env python -# vim:fileencoding=utf-8 # Ultra-optimized Manifest writing. -# (c) 2017-2020 Michał Górny +# (c) 2017-2022 Michał Górny # Licensed under the terms of 2-clause BSD license import errno @@ -110,7 +109,7 @@ def gen_manifest(top_dir): if __name__ == '__main__': if len(sys.argv) < 2: - print('Usage: {} <directory>...'.format(sys.argv[0])) + print(f'Usage: {sys.argv[0]} <directory>...') sys.exit(1) for path in sys.argv[1:]: |