docker-offlineimap/offlineimap
Sebastian Spaeth f6b9c68333 IMAP: Don't use assert() in folder.savemessage()
We simply assert()ed that APPENDing a message returned OK, but in some
cases (e.g. Google chat messages) APPEND might return BAD or NO too. We
should be throwing an OfflineImapError here at MESSAGE level, so that we
can continue to sync all other messages, and still give the user some
details on what went wrong at the end of the sync run.

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
2011-08-11 19:14:28 +02:00
..
folder IMAP: Don't use assert() in folder.savemessage() 2011-08-11 19:14:28 +02:00
repository repository/Maildir.py: Fix typo 'sudir' 2011-06-23 18:30:55 +02:00
ui Implement ui.error() and output them at end of offlinimap sync 2011-08-11 19:14:28 +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 Fix caching inconsistencies in getselectedfolder() 2011-07-07 18:33:45 +02:00
imapserver.py Add missing import of SSLError exception. 2011-07-07 18:31: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