[PATCH] Fix typo to force singlethreading in debug mode

Sebastian Spaeth Sebastian at SSpaeth.de
Thu May 5 10:15:51 BST 2011


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

Signed-off-by: Sebastian Spaeth <Sebastian at SSpaeth.de>
---
Embarassing typo from me that prevented us from really enforcing 
single-threading mode. Patch proposed for "master". Sorry.

 offlineimap/init.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/offlineimap/init.py b/offlineimap/init.py
index 296b84b..2726e1d 100644
--- a/offlineimap/init.py
+++ b/offlineimap/init.py
@@ -219,7 +219,7 @@ class OfflineImap:
             if not ('thread' in options.debugtype.split(',') \
                     and options.singlethreading):
                 ui._msg("Debug mode: Forcing to singlethreaded.")
-                options.singlethreaded = True
+                options.singlethreading = True
 
             for type in options.debugtype.split(','):
                 type = type.strip()
-- 
1.7.4.1





More information about the OfflineIMAP-project mailing list