Commit ffb1bb14 authored by unknown's avatar unknown

Clean up a bare except: clause.

parent 968d5f75
......@@ -74,7 +74,7 @@ class Message:
# (and then assume seek() works, too)
try:
fp.tell()
except:
except (AttributeError, IOError):
seekable = 0
else:
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