Merge branch 'master' into next

This commit is contained in:
Nicolas Sebrecht 2011-03-03 19:09:30 +01:00
commit 4e0aaa07c0
2 changed files with 2 additions and 1 deletions

View File

@ -27,6 +27,7 @@ Bug Fixes
* Allow SSL connections to send keep-alive messages.
* Fix regression (UIBase is no more).
* Make profiling mode really enforce single-threading
Pending for the next major release
==================================

View File

@ -169,7 +169,7 @@ class OfflineImap:
if options.profiledir:
if not options.singlethreading:
logging.warn("Profile mode: Forcing to singlethreaded.")
options.singlethreaded = True
options.singlethreading = True
profiledir = options.profiledir
os.mkdir(profiledir)
threadutil.setprofiledir(profiledir)