Introduce an *empty* debug type
This debug type will always be enabled whenever any debugging is enables and it outputs debug messages that cannot be categorized among any of imap, maildir (e.g. things that concern the sync logic). Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de> Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:

committed by
Nicolas Sebrecht

parent
6add201436
commit
3d4dc11a8b
@ -222,7 +222,8 @@ class OfflineImap:
|
||||
ui._msg("Debug mode: Forcing to singlethreaded.")
|
||||
options.singlethreaded = True
|
||||
|
||||
for type in options.debugtype.split(','):
|
||||
debugtypes = options.debugtype.split(',') + ['']
|
||||
for type in debugtypes:
|
||||
type = type.strip()
|
||||
ui.add_debug(type)
|
||||
if type.lower() == 'imap':
|
||||
|
Reference in New Issue
Block a user