docker-offlineimap/offlineimap/folder
Nicolas Sebrecht 1410a391bc avoid removing of data when user removed a maildir
When a maildir is removed it must be considered new for the sync. However, the
local cache of the folder remains. This means the sync of the folder removes all
the missing emails.

Avoid loosing of data for users not aware of the local cache by removing any
pre-existing status cache of a folder when we actually want to create the
database.

Improve style.

Github-fix: https://github.com/OfflineIMAP/offlineimap/issues/333
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
2016-06-26 17:00:23 +02:00
..
__init__.py Use "from . import" for relative imports 2012-02-06 17:41:43 +01:00
Base.py GmailMaildir: quick mode is not compatible with utime_from_header 2016-06-08 19:02:04 +02:00
Gmail.py py3: raise exceptions using six module 2016-05-18 01:49:09 +02:00
GmailMaildir.py GmailMaildir: quick mode is not compatible with utime_from_header 2016-06-08 19:02:04 +02:00
IMAP.py introduce a virtual imaplib2 2016-06-04 12:17:53 +02:00
LocalStatus.py avoid removing of data when user removed a maildir 2016-06-26 17:00:23 +02:00
LocalStatusSQLite.py avoid removing of data when user removed a maildir 2016-06-26 17:00:23 +02:00
Maildir.py minor code cleanups 2016-06-08 19:03:02 +02:00
UIDMaps.py py3: raise exceptions using six module 2016-05-18 01:49:09 +02:00