diff options
Diffstat (limited to 'utils')
-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'], |