summaryrefslogtreecommitdiffstats
path: root/Lib/poplib.py
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-08-06 16:08:07 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2009-08-06 16:08:07 (GMT)
commit825b993542563d76b08ca7b01729b20837ba9245 (patch)
tree4cfc87f0da19dca1d6e4f2f850df913e3d1bcfc0 /Lib/poplib.py
parent82d64579056d9010772a5ac72fbf2011ac5b7b76 (diff)
downloadcpython-825b993542563d76b08ca7b01729b20837ba9245.zip
cpython-825b993542563d76b08ca7b01729b20837ba9245.tar.gz
cpython-825b993542563d76b08ca7b01729b20837ba9245.tar.bz2
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. ........
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 770819e..1a529d0 100644
--- a/Lib/poplib.py
+++ b/Lib/poplib.py
@@ -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')