summaryrefslogtreecommitdiffstats
path: root/Lib/poplib.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-08-06 02:59:07 (GMT)
committerGuido van Rossum <guido@python.org>1998-08-06 02:59:07 (GMT)
commitde23cb0e7e1a5181e6102c4f32ab8a24886f27af (patch)
treecaccef1efa4c2749297d5a65bd2a965686270b5e /Lib/poplib.py
parentd807879b31e4e9872892de7220a4ab66518e4af5 (diff)
downloadcpython-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.py2
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()