Fix one bare except: clause.

This commit is contained in:
Fred Drake 2001-05-11 19:52:57 +00:00
parent ef4cdad090
commit 7e473800c3
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ def is_zipfile(filename):
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