From d17d1fa72e20411b901ab517fab9f2a0c510bec6 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Mon, 23 Jan 2023 09:01:14 +0100 Subject: utils: Fix pyflakes complaints MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- utils/fuzzy-hash-tester.py | 2 -- utils/gen_fast_manifest.py | 4 +--- utils/gen_fast_metamanifest.py | 4 +--- 3 files changed, 2 insertions(+), 8 deletions(-) (limited to 'utils') 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'], -- cgit v1.2.3