summaryrefslogtreecommitdiffstats
path: root/Lib/imaplib.py
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2003-06-29 04:21:43 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2003-06-29 04:21:43 (GMT)
commitb207170d39b0f12248b2c3382c7f5c686d7cdb04 (patch)
tree45ac76820d6550f2195688fa9cff7a0204e1bcc3 /Lib/imaplib.py
parent3f401f07e8dd5afb2c33ea9f5fa145e3c2c3a690 (diff)
downloadcpython-b207170d39b0f12248b2c3382c7f5c686d7cdb04.zip
cpython-b207170d39b0f12248b2c3382c7f5c686d7cdb04.tar.gz
cpython-b207170d39b0f12248b2c3382c7f5c686d7cdb04.tar.bz2
Comment out cap, it was unused.
Should all the commented out code be removed?
Diffstat (limited to 'Lib/imaplib.py')
-rw-r--r--Lib/imaplib.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/imaplib.py b/Lib/imaplib.py
index 6a68861..d9166e0 100644
--- a/Lib/imaplib.py
+++ b/Lib/imaplib.py
@@ -330,7 +330,8 @@ class IMAP4:
be sent instead.
"""
mech = mechanism.upper()
- cap = 'AUTH=%s' % mech
+ # XXX: shouldn't this code be removed, not commented out?
+ #cap = 'AUTH=%s' % mech
#if not cap in self.capabilities: # Let the server decide!
# raise self.error("Server doesn't allow %s authentication." % mech)
self.literal = _Authenticator(authobject).process