diff options
author | Guido van Rossum <guido@python.org> | 1998-08-06 02:59:07 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-08-06 02:59:07 (GMT) |
commit | de23cb0e7e1a5181e6102c4f32ab8a24886f27af (patch) | |
tree | caccef1efa4c2749297d5a65bd2a965686270b5e /Lib/poplib.py | |
parent | d807879b31e4e9872892de7220a4ab66518e4af5 (diff) | |
download | cpython-de23cb0e7e1a5181e6102c4f32ab8a24886f27af.zip cpython-de23cb0e7e1a5181e6102c4f32ab8a24886f27af.tar.gz cpython-de23cb0e7e1a5181e6102c4f32ab8a24886f27af.tar.bz2 |
Bug in how an except statement was written (submitted by Piers himself).
Diffstat (limited to 'Lib/poplib.py')
-rw-r--r-- | Lib/poplib.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/poplib.py b/Lib/poplib.py index c7b1679..2539892 100644 --- a/Lib/poplib.py +++ b/Lib/poplib.py @@ -240,7 +240,7 @@ class POP3: """Signoff: commit changes on server, unlock mailbox, close connection.""" try: resp = self._shortcmd('QUIT') - except error_proto(val): + except error_proto, val: resp = val self.file.close() self.sock.close() |