Clean up a bare except: clause.

This commit is contained in:
unknown 2001-07-04 07:07:33 +00:00
parent 3db163aa19
commit 67bbd7a773
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ class Message:
# (and then assume seek() works, too)
try:
fp.tell()
except:
except (AttributeError, IOError):
seekable = 0
else:
seekable = 1