Commit de23cb0e authored by Guido van Rossum's avatar Guido van Rossum

Bug in how an except statement was written (submitted by Piers himself).

parent d807879b
...@@ -240,7 +240,7 @@ class POP3: ...@@ -240,7 +240,7 @@ class POP3:
"""Signoff: commit changes on server, unlock mailbox, close connection.""" """Signoff: commit changes on server, unlock mailbox, close connection."""
try: try:
resp = self._shortcmd('QUIT') resp = self._shortcmd('QUIT')
except error_proto(val): except error_proto, val:
resp = val resp = val
self.file.close() self.file.close()
self.sock.close() self.sock.close()
......
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