Re: getcopyinstancelimit NotImplementedException
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Sat, Mar 01, 2003 at 07:10:20AM +0000, Randy Orrison wrote:
>
> This is happening pretty much every time I have a local maildir and create
> the corresponding empty IMAP folder on the server. I can work around it by
> putting a message into the empty folder on the server before running
> offlineimap.
Try this diff:
Index: offlineimap/folder/Base.py
===================================================================
--- offlineimap/folder/Base.py (revision 357)
+++ offlineimap/folder/Base.py (working copy)
@@ -199,7 +199,7 @@
usethread = applyto[0]
for uid in uidlist:
- if usethread:
+ if usethread and usethread.suggeststhreads():
usethread.waitforthread()
thread = InstanceLimitedThread(\
usethread.getcopyinstancelimit(),
I'm checking this in to the repository.
-- John
|
|