Mailing List Archive

CVS: python/dist/src/Lib zipfile.py,1.13,1.14
Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv26077/Lib

Modified Files:
zipfile.py
Log Message:

Fix one bare except: clause.


Index: zipfile.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/zipfile.py,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -r1.13 -r1.14
*** zipfile.py 2001/04/14 16:45:14 1.13
--- zipfile.py 2001/05/11 19:52:57 1.14
***************
*** 82,86 ****
if endrec[0:4] == "PK\005\006" and endrec[-2:] == "\000\000":
return 1 # file has correct magic number
! except:
pass

--- 82,86 ----
if endrec[0:4] == "PK\005\006" and endrec[-2:] == "\000\000":
return 1 # file has correct magic number
! except IOError:
pass