From e907b0f04354873316311072da572943abb6281a Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Mon, 26 Sep 2022 13:00:56 +0200 Subject: Modernize via pyupgrade MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- utils/gen_fast_manifest.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'utils/gen_fast_manifest.py') 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: {} ...'.format(sys.argv[0])) + print(f'Usage: {sys.argv[0]} ...') sys.exit(1) for path in sys.argv[1:]: -- cgit v1.2.3