docker-offlineimap/offlineimap/folder
Sebastian Spaeth 96db608e4d Remove convoluted assert statements
The working horse of the savemessage() function, imaplib.append() was
hidden away in an assert statement. Pull the real functions out of the
asserts and simply assert on the return values. This looks less
convoluted and makes this easier to understand in my opinion.

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
2011-03-05 18:02:10 +01:00
..
__init__.py Add Gmail IMAP special support. 2008-01-03 04:56:55 +01:00
Base.py Use self.ui rather than UIBase.getglobalui() 2011-02-17 19:03:29 +01:00
Gmail.py Remove unneeded imports of UIBase 2011-02-09 19:29:01 +01:00
IMAP.py Remove convoluted assert statements 2011-03-05 18:02:10 +01:00
LocalStatus.py LocalStatus: Don't ignore Exceptions on os.fsync 2011-01-14 19:25:11 +01:00
Maildir.py Save ui as self.ui in folder/Base class 2011-01-05 19:24:00 +01:00
UIDMaps.py Remove unneeded imports of UIBase 2011-02-09 19:29:01 +01:00