init.py: avoid redefining "type" builtin
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
parent
11619faf7c
commit
0dc45e421b
@ -257,10 +257,10 @@ class OfflineImap:
|
||||
options.singlethreading = True
|
||||
|
||||
debugtypes = options.debugtype.split(',') + ['']
|
||||
for type in debugtypes:
|
||||
type = type.strip()
|
||||
self.ui.add_debug(type)
|
||||
if type.lower() == 'imap':
|
||||
for dtype in debugtypes:
|
||||
dtype = dtype.strip()
|
||||
self.ui.add_debug(dtype)
|
||||
if dtype.lower() == u'imap':
|
||||
imaplib.Debug = 5
|
||||
|
||||
if options.runonce:
|
||||
|
Loading…
Reference in New Issue
Block a user