Commit ffb1bb14 authored by unknown's avatar unknown

Clean up a bare except: clause.

parent 968d5f75
...@@ -74,7 +74,7 @@ class Message: ...@@ -74,7 +74,7 @@ class Message:
# (and then assume seek() works, too) # (and then assume seek() works, too)
try: try:
fp.tell() fp.tell()
except: except (AttributeError, IOError):
seekable = 0 seekable = 0
else: else:
seekable = 1 seekable = 1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment