Comment out cap, it was unused.

Should all the commented out code be removed?
This commit is contained in:
Neal Norwitz 2003-06-29 04:21:43 +00:00
parent 3f401f07e8
commit b207170d39

View File

@ -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