From b207170d39b0f12248b2c3382c7f5c686d7cdb04 Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Sun, 29 Jun 2003 04:21:43 +0000 Subject: [PATCH] Comment out cap, it was unused. Should all the commented out code be removed? --- Lib/imaplib.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Lib/imaplib.py b/Lib/imaplib.py index 6a6886197c8..d9166e08530 100644 --- a/Lib/imaplib.py +++ b/Lib/imaplib.py @@ -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