diff options
author | unknown <tools@python.org> | 2001-07-04 07:07:33 (GMT) |
---|---|---|
committer | unknown <tools@python.org> | 2001-07-04 07:07:33 (GMT) |
commit | 67bbd7a7734b1c9b11abb6e627ce79fa48e1dbef (patch) | |
tree | f4531d886b1c3ac6d249db547422ac0939fe7440 /Lib | |
parent | 3db163aa1952a53712d402f8f460228dde1192ce (diff) | |
download | cpython-67bbd7a7734b1c9b11abb6e627ce79fa48e1dbef.zip cpython-67bbd7a7734b1c9b11abb6e627ce79fa48e1dbef.tar.gz cpython-67bbd7a7734b1c9b11abb6e627ce79fa48e1dbef.tar.bz2 |
Clean up a bare except: clause.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/rfc822.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/rfc822.py b/Lib/rfc822.py index 14fd2a8..3a02224 100644 --- a/Lib/rfc822.py +++ b/Lib/rfc822.py @@ -74,7 +74,7 @@ class Message: # (and then assume seek() works, too) try: fp.tell() - except: + except (AttributeError, IOError): seekable = 0 else: seekable = 1 |