mirror of
https://github.com/python/cpython.git
synced 2025-09-27 02:39:58 +00:00
Bug in how an except statement was written (submitted by Piers himself).
This commit is contained in:
parent
d807879b31
commit
de23cb0e7e
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue