Fix typo to force singlethreading in debug mode

A typo prevented us from enforcing singlethreading mode when selecting debugging.

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
Sebastian Spaeth 2011-05-05 11:15:51 +02:00 committed by Nicolas Sebrecht
parent b1ff307674
commit a40e506908

View File

@ -213,7 +213,7 @@ class OfflineImap:
if not ('thread' in options.debugtype.split(',') \ if not ('thread' in options.debugtype.split(',') \
and options.singlethreading): and options.singlethreading):
ui._msg("Debug mode: Forcing to singlethreaded.") ui._msg("Debug mode: Forcing to singlethreaded.")
options.singlethreaded = True options.singlethreading = True
for type in options.debugtype.split(','): for type in options.debugtype.split(','):
type = type.strip() type = type.strip()