mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +00:00
Merged revisions 74330 via svnmerge from
svn+ssh://pythondev@www.python.org/python/branches/py3k ........ r74330 | mark.dickinson | 2009-08-06 17:06:25 +0100 (Thu, 06 Aug 2009) | 3 lines Issue #6622: Fix 'variable referenced before assignment' bug in POP3.apop. Thanks Vincent Legoll. ........
This commit is contained in:
parent
82d6457905
commit
825b993542
3 changed files with 14 additions and 4 deletions
|
@ -282,7 +282,7 @@ class POP3:
|
|||
|
||||
NB: mailbox is locked by server from here to 'quit()'
|
||||
"""
|
||||
secret = bytes(secret, self.encoding)
|
||||
secret = bytes(password, self.encoding)
|
||||
m = self.timestamp.match(self.welcome)
|
||||
if not m:
|
||||
raise error_proto('-ERR APOP not supported by server')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue