mirror of
https://github.com/python/cpython.git
synced 2024-12-18 06:14:00 +08:00
Comment out cap, it was unused.
Should all the commented out code be removed?
This commit is contained in:
parent
3f401f07e8
commit
b207170d39
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user