docker-offlineimap/offlineimap
Sebastian Spaeth 9f23fea74e Fix error handling in folder.Base.copymessageto()
This is a bug fix on several levels. 1) We were lacking the import of
OfflineImapError. 2) OfflineImap.ERROR.MESSAGE was misspelled as ERROR.Message.
3) COntinuing with the next message only worked in single-thread mode
(using debug) and not in multi-thread mode. The reason is that we were
invoking a new thread and catching Exceptions in the main thread. But
python immediately aborts if an Exception bubbles up to a thread start.
This was fixed by catching exceptions directly in copymessageto() which
is the new thread, rather than catching them in the main thread.

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
2011-08-15 12:16:28 +02:00
..
folder Fix error handling in folder.Base.copymessageto() 2011-08-15 12:16:28 +02:00
repository LocalStatus.py: Fix getfolders() 2011-08-12 18:31:31 +02:00
ui Don't make Blinkenlight statuschar configurable 2011-08-15 12:10:20 +02:00
__init__.py v6.3.4 2011-08-10 21:44:58 +02:00
accounts.py accounts.py: Use ui.error when raising exceptions 2011-08-11 19:14:28 +02:00
CustomConfig.py Improve CustomConfig documentation 2011-01-20 19:46:01 +01:00
error.py Add OfflineImapError class 2011-05-05 20:00:07 +02:00
imaplib2.py Update imaplib2 to 2.24 2011-06-09 18:26:39 +02:00
imaplibutil.py remove unused 'mustquote' regex 2011-08-14 17:15:38 +02:00
imapserver.py remove unused 'mustquote' regex 2011-08-14 17:15:38 +02:00
imaputil.py imaputil.imapsplit: Remove overzealous debug statement 2011-06-25 17:06:53 +02:00
init.py Always call ui.terminate() 2011-06-16 18:57:35 +02:00
localeval.py Update FSF address 2006-08-12 05:15:55 +01:00
mbnames.py explicitly define symbols to import instead of 'import *' 2011-05-09 22:43:03 +02:00
syncmaster.py Remove weird SigListener class 2011-05-08 14:25:16 +02:00
threadutil.py fix broken ui Blinkenlights in multi-threaded mode 2011-05-18 18:38:05 +02:00