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
|
options.singlethreading = True
|
||||||
|
|
||||||
debugtypes = options.debugtype.split(',') + ['']
|
debugtypes = options.debugtype.split(',') + ['']
|
||||||
for type in debugtypes:
|
for dtype in debugtypes:
|
||||||
type = type.strip()
|
dtype = dtype.strip()
|
||||||
self.ui.add_debug(type)
|
self.ui.add_debug(dtype)
|
||||||
if type.lower() == 'imap':
|
if dtype.lower() == u'imap':
|
||||||
imaplib.Debug = 5
|
imaplib.Debug = 5
|
||||||
|
|
||||||
if options.runonce:
|
if options.runonce:
|
||||||
|
Loading…
Reference in New Issue
Block a user