From 156b3f91cc06531fcc3f2aa19910acc93e8802f0 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Thu, 2 Feb 2023 15:30:35 +0100 Subject: [PATCH] fix pylint W0404: Reimport 're' (imported line 21) (reimported) --- fdroidserver/__main__.py | 1 - 1 file changed, 1 deletion(-) diff --git a/fdroidserver/__main__.py b/fdroidserver/__main__.py index e470099c..216e00c4 100755 --- a/fdroidserver/__main__.py +++ b/fdroidserver/__main__.py @@ -159,7 +159,6 @@ def main(): output = 'git commit ' + subprocess.check_output(['git', 'rev-parse', 'HEAD'], universal_newlines=True) elif os.path.exists('setup.py'): - import re m = re.search(r'''.*[\s,\(]+version\s*=\s*["']([0-9a-z.]+)["'].*''', open('setup.py').read(), flags=re.MULTILINE) if m: