From de23cb0e7e1a5181e6102c4f32ab8a24886f27af Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Thu, 6 Aug 1998 02:59:07 +0000 Subject: Bug in how an except statement was written (submitted by Piers himself). --- Lib/poplib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- cgit v0.12