mirror of
https://github.com/python/cpython
synced 2026-09-28 08:33:18 +03:00
Comment out cap, it was unused.
Should all the commented out code be removed?
This commit is contained in:
parent
3f401f07e8
commit
b207170d39
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue