docker-offlineimap/offlineimap/folder
Sebastian Spaeth 0ccf06d5e6 Implement clean CTRL-C termination
Previously, we would simply bail out in an ugly way, potentially leaving
temporary files around etc, or while writing status files. Hand SIGINT
and SIGTERM as an event to the Account class, and make that bail out
cleanly at predefined points. Stopping on ctrl-c can take a few seconds
(it will e.g. finish to transfer the ongoing message), but it will shut
down cleanly.

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
2012-01-04 19:31:27 +01:00
..
__init__.py Add Gmail IMAP special support. 2008-01-03 04:56:55 +01:00
Base.py Implement clean CTRL-C termination 2012-01-04 19:31:27 +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