aboutsummaryrefslogtreecommitdiffstats
path: root/packaging-tools/archiveresolver.py
diff options
context:
space:
mode:
authorPatrik Teivonen <patrik.teivonen@qt.io>2022-06-16 12:15:37 +0300
committerPatrik Teivonen <patrik.teivonen@qt.io>2022-07-11 09:02:54 +0000
commit152f03b67a2087a5a96e4447dff969317ad0847b (patch)
treeba86ea2ac6ccd884104af9af793e0b9fee00498b /packaging-tools/archiveresolver.py
parent45312f31b5439e99598a553d0fffd7c7060bfbaf (diff)
PEP8: Remove unused vars, modules, and string formatting
Enable following checks in flake8, and fix the resulting errors: -F401 Module imported but unused -F841 Local variable name is assigned to but never used -F811 redefinition of unused module -F541 (f-string is missing placeholders) -F523 .format(...) unused positional arguments Change-Id: Iba0e9f0148054d86b39b31202aba81a7f5c03a93 Reviewed-by: Akseli Salovaara <akseli.salovaara@qt.io> Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
Diffstat (limited to 'packaging-tools/archiveresolver.py')
-rw-r--r--packaging-tools/archiveresolver.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/packaging-tools/archiveresolver.py b/packaging-tools/archiveresolver.py
index 446ef5505..4cafc905d 100644
--- a/packaging-tools/archiveresolver.py
+++ b/packaging-tools/archiveresolver.py
@@ -30,7 +30,6 @@
#############################################################################
import os
-import sys
import bldinstallercommon
import pkg_constants
from urllib.parse import urlparse