summaryrefslogtreecommitdiffstats
path: root/src/test_setup.py
diff options
context:
space:
mode:
authorMats Wichmann <mats@linux.com>2019-04-08 22:38:24 (GMT)
committerMats Wichmann <mats@linux.com>2019-04-25 15:37:04 (GMT)
commitf3c5ac37a96adc91d688d17a9ad462a95d32587c (patch)
tree5a9847b62b2f4408e48572a75cf797f409ebb4f9 /src/test_setup.py
parentf61d3bcd112285644c1a6ce253b267ef690a7e06 (diff)
downloadSCons-f3c5ac37a96adc91d688d17a9ad462a95d32587c.zip
SCons-f3c5ac37a96adc91d688d17a9ad462a95d32587c.tar.gz
SCons-f3c5ac37a96adc91d688d17a9ad462a95d32587c.tar.bz2
[PR #3345] fix flake8 compliants on the PR
Signed-off-by: Mats Wichmann <mats@linux.com>
Diffstat (limited to 'src/test_setup.py')
-rw-r--r--src/test_setup.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test_setup.py b/src/test_setup.py
index 75e0533..09865f5 100644
--- a/src/test_setup.py
+++ b/src/test_setup.py
@@ -178,8 +178,8 @@ zip = os.path.join(cwd, 'build', 'dist', '%s.zip' % scons_version)
if os.path.isfile(zip):
try:
import zipfile
- except
- ImportError: pass
+ except ImportError:
+ pass
else:
with zipfile.ZipFile(zip, 'r') as zf: