[Python-checkins] python/dist/src/Lib imaplib.py,1.63,1.64
nnorwitz@users.sourceforge.net
nnorwitz@users.sourceforge.net
Sat, 28 Jun 2003 21:21:45 -0700
Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1:/tmp/cvs-serv6066
Modified Files:
imaplib.py
Log Message:
Comment out cap, it was unused.
Should all the commented out code be removed?
Index: imaplib.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/imaplib.py,v
retrieving revision 1.63
retrieving revision 1.64
diff -C2 -d -r1.63 -r1.64
*** imaplib.py 29 Apr 2003 23:58:08 -0000 1.63
--- imaplib.py 29 Jun 2003 04:21:43 -0000 1.64
***************
*** 331,335 ****
"""
mech = mechanism.upper()
! cap = 'AUTH=%s' % mech
#if not cap in self.capabilities: # Let the server decide!
# raise self.error("Server doesn't allow %s authentication." % mech)
--- 331,336 ----
"""
mech = mechanism.upper()
! # 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)