From ddffdefb1c48c23f7503f84c0f6cf2456ec82b32 Mon Sep 17 00:00:00 2001 From: jgoerzen Date: Sat, 1 Mar 2003 22:31:30 +0100 Subject: [PATCH] /offlineimap/head: changeset 358 --- offlineimap/head/debian/changelog | 2 ++ offlineimap/head/offlineimap/folder/Base.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/offlineimap/head/debian/changelog b/offlineimap/head/debian/changelog index 6372c59..6051757 100644 --- a/offlineimap/head/debian/changelog +++ b/offlineimap/head/debian/changelog @@ -1,6 +1,8 @@ offlineimap (3.99.10) unstable; urgency=low * Always do a flush in Noninteractive when writing out data. + * Fixed a bug in folder/Base.py relating to threads in + syncmessagesto_neguid. -- John Goerzen Fri, 7 Feb 2003 14:12:17 -0600 diff --git a/offlineimap/head/offlineimap/folder/Base.py b/offlineimap/head/offlineimap/folder/Base.py index 33114ee..afc4041 100644 --- a/offlineimap/head/offlineimap/folder/Base.py +++ b/offlineimap/head/offlineimap/folder/Base.py @@ -199,7 +199,7 @@ class BaseFolder: usethread = applyto[0] for uid in uidlist: - if usethread: + if usethread and usethread.suggeststhreads(): usethread.waitforthread() thread = InstanceLimitedThread(\ usethread.getcopyinstancelimit(),