summaryrefslogtreecommitdiff
path: root/Lib/imaplib.py
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2003-06-29 04:21:43 +0000
committerNeal Norwitz <nnorwitz@gmail.com>2003-06-29 04:21:43 +0000
commit82e121c0c0156a67afa81279779a19f910ea69cd (patch)
tree62109ed64d8af888d5e8fa996c5d1948bab10e85 /Lib/imaplib.py
parent8ac6926382ec219b4b524d535c648f0dbd8721fc (diff)
downloadcpython-82e121c0c0156a67afa81279779a19f910ea69cd.tar.gz
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 6a6886197c..d9166e0853 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