summaryrefslogtreecommitdiffstats
path: root/Lib/zipfile.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/zipfile.py')
-rw-r--r--Lib/zipfile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/zipfile.py b/Lib/zipfile.py
index 207fc34..b1943c1 100644
--- a/Lib/zipfile.py
+++ b/Lib/zipfile.py
@@ -327,7 +327,7 @@ class ZipFile:
for zinfo in self.filelist:
try:
self.read(zinfo.filename) # Check CRC-32
- except:
+ except BadZipfile:
return zinfo.filename
def getinfo(self, name):