Remvoed Debug variable
I removed this variable. The default level now is 3, not 5.
This commit is contained in:
parent
62209db06e
commit
0c58628c3b
@ -73,7 +73,6 @@ select_module = select
|
||||
# Globals
|
||||
|
||||
CRLF = '\r\n'
|
||||
Debug = None # Backward compatibility
|
||||
IMAP4_PORT = 143
|
||||
IMAP4_SSL_PORT = 993
|
||||
|
||||
@ -2066,7 +2065,7 @@ class IMAP4(object):
|
||||
def _init_debug(self, debug=None, debug_file=None, debug_buf_lvl=None):
|
||||
self.debug_lock = threading.Lock()
|
||||
|
||||
self.debug = self._choose_nonull_or_dflt(0, debug, Debug)
|
||||
self.debug = self._choose_nonull_or_dflt(0, debug)
|
||||
self.debug_file = self._choose_nonull_or_dflt(sys.stderr, debug_file)
|
||||
self.debug_buf_lvl = self._choose_nonull_or_dflt(DFLT_DEBUG_BUF_LVL, debug_buf_lvl)
|
||||
|
||||
|
@ -299,8 +299,6 @@ class OfflineImap(object):
|
||||
for dtype in debugtypes:
|
||||
dtype = dtype.strip()
|
||||
self.ui.add_debug(dtype)
|
||||
if dtype.lower() == u'imap':
|
||||
imaplib.Debug = 5
|
||||
|
||||
if options.runonce:
|
||||
# Must kill the possible default option.
|
||||
|
Loading…
Reference in New Issue
Block a user