From 0dc45e421bf84bf4359cea89ecc324c446fe7139 Mon Sep 17 00:00:00 2001 From: Nicolas Sebrecht Date: Thu, 8 Jan 2015 22:14:43 +0100 Subject: [PATCH] init.py: avoid redefining "type" builtin Signed-off-by: Nicolas Sebrecht --- offlineimap/init.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/offlineimap/init.py b/offlineimap/init.py index 143287b..6ceb860 100644 --- a/offlineimap/init.py +++ b/offlineimap/init.py @@ -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: