commit | 7e473800c31e650ad573e5af21a6ed63e155c2f6 | [log] [tgz] |
---|---|---|
author | Fred Drake <fdrake@acm.org> | Fri May 11 19:52:57 2001 +0000 |
committer | Fred Drake <fdrake@acm.org> | Fri May 11 19:52:57 2001 +0000 |
tree | f98557602e0f5aeeb4fa173bdfb8da9d1de853c9 | |
parent | ef4cdad0905c55d921d899cb8b91e58ec6beeb80 [diff] |
Fix one bare except: clause.
diff --git a/Lib/zipfile.py b/Lib/zipfile.py index 74095e2..8a113a0 100644 --- a/Lib/zipfile.py +++ b/Lib/zipfile.py
@@ -81,7 +81,7 @@ fpin.close() if endrec[0:4] == "PK\005\006" and endrec[-2:] == "\000\000": return 1 # file has correct magic number - except: + except IOError: pass