docker-offlineimap/offlineimap/folder
Sebastian Spaeth 8ec6980c96 Don't fail on empty LocalStatus cache files
As reported in https://github.com/spaetz/offlineimap/pull/2, we would
fail when files are empty because file.read() would throw attribute
errors.

Fix this by removing the superfluous read() check and additionally log
some warning message.

Reported-by: Ralf Schmitt
Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
2011-12-01 23:57:54 +01:00
..
__init__.py Add Gmail IMAP special support. 2008-01-03 04:56:55 +01:00
Base.py Pass ui.registerthread an Account() and not a name as string 2011-11-03 13:45:44 +01:00
Gmail.py Remove visiblename as parameter to IMAPFolder creation 2011-09-16 12:54:29 +02:00
IMAP.py Drop connection if it might be bad on APPEND 2011-11-02 10:36:30 +01:00
LocalStatus.py Don't fail on empty LocalStatus cache files 2011-12-01 23:57:54 +01:00
LocalStatusSQLite.py Don't pass in 'root' as para to LocalStatusFolders 2011-09-16 12:54:12 +02:00
Maildir.py Folder.Maildir: No need to store 'uid' in messagelist dict. 2011-09-19 10:01:31 +02:00
UIDMaps.py Do not import threading.* 2011-10-05 18:34:32 +02:00