Comment out cap, it was unused.
Should all the commented out code be removed?
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 @@
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