]> granicus.if.org Git - python/commitdiff
Comment out cap, it was unused.
authorNeal Norwitz <nnorwitz@gmail.com>
Sun, 29 Jun 2003 04:21:43 +0000 (04:21 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Sun, 29 Jun 2003 04:21:43 +0000 (04:21 +0000)
Should all the commented out code be removed?

Lib/imaplib.py

index 6a6886197c8fbef90e3f002ceb1f20c62ecd1bd8..d9166e08530317b6b4cecf013c5e94f9e52f697e 100644 (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