diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-01-23 09:01:14 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-01-23 09:01:14 +0100 |
commit | d17d1fa72e20411b901ab517fab9f2a0c510bec6 (patch) | |
tree | fa35b42c79945f606b75b7a666f6b0f9fdaaedbc | |
parent | be988f794577eac257e0730609c410493da9b790 (diff) | |
download | gemato-d17d1fa72e20411b901ab517fab9f2a0c510bec6.tar.gz |
utils: Fix pyflakes complaints
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rwxr-xr-x | utils/fuzzy-hash-tester.py | 2 | ||||
-rwxr-xr-x | utils/gen_fast_manifest.py | 4 | ||||
-rwxr-xr-x | utils/gen_fast_metamanifest.py | 4 |
3 files changed, 2 insertions, 8 deletions
diff --git a/utils/fuzzy-hash-tester.py b/utils/fuzzy-hash-tester.py index c96742b..d274685 100755 --- a/utils/fuzzy-hash-tester.py +++ b/utils/fuzzy-hash-tester.py @@ -9,8 +9,6 @@ import random import subprocess import sys -import pyblake2 - class ExternalToolHash: def __init__(self, argv): diff --git a/utils/gen_fast_manifest.py b/utils/gen_fast_manifest.py index 002f8c5..70b0531 100755 --- a/utils/gen_fast_manifest.py +++ b/utils/gen_fast_manifest.py @@ -1,10 +1,8 @@ #!/usr/bin/env python # Ultra-optimized Manifest writing. -# (c) 2017-2022 Michał Górny +# (c) 2017-2023 Michał Górny # Licensed under the terms of 2-clause BSD license -import errno -import glob import gzip import hashlib import os diff --git a/utils/gen_fast_metamanifest.py b/utils/gen_fast_metamanifest.py index 0d6922d..c5353d4 100755 --- a/utils/gen_fast_metamanifest.py +++ b/utils/gen_fast_metamanifest.py @@ -1,11 +1,10 @@ #!/usr/bin/env python # Ultra-optimized Meta-Manifest writing. -# (c) 2017-2022 Michał Górny +# (c) 2017-2023 Michał Górny # Licensed under the terms of 2-clause BSD license import datetime import glob -import io import multiprocessing import os import os.path @@ -70,7 +69,6 @@ def make_toplevel(d, ts, pgp_key): data = me + b'\n' + ts if pgp_key is not None: - cmd = [] gpg = os.environ.get('GNUPG', 'gpg') p = subprocess.Popen([gpg, '--batch', '-u', pgp_key, '--armor', '--clearsign'], |