docker-offlineimap/offlineimap
Sebastian Spaeth 89619838b0 Remove weird SigListener class
The SigListener class was used to queue folders that we need to sync and
to receive "resync" and "abort" signals. It was undocumented and weird
and we had to pass "siglisteners" through the whole program.

Simply do away with it, and make 2 functions in the Account() class:
set_abort_event and get_abort_event which can be used to set and check
for such signals. This way we do not need to pass siglisteners all over
the place. Tested Blinkenlights and TTYUI uis to make sure that SIGUSR1
and SIGUSR2 actually still work.

Document those signals in MANUAL.rst. They were completly undocumented.

This simplifies the code and interdependencies by passing less stuff
around. Removes an undocumented and weirdly named class.

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
2011-05-08 14:25:16 +02:00
..
folder Prettify and use new uidexists() helper function 2011-05-07 13:50:22 +02:00
repository Create LocalStatus or LocalStatusSQLite folders 2011-05-07 13:35:03 +02:00
ui Remove weird SigListener class 2011-05-08 14:25:16 +02:00
__init__.py Add OfflineImapError class 2011-05-05 20:00:07 +02:00
accounts.py Remove weird SigListener class 2011-05-08 14:25:16 +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 imaplib2: Bump from 2.20 to 2.22 2011-04-11 19:10:45 +02:00
imaplibutil.py Fix IMAP4_Tunnel to work with imaplib2 2011-04-13 18:41:53 +02:00
imapserver.py Throw OfflineImapError on DNS error 2011-05-05 20:00:07 +02:00
imaputil.py cleanup import statements and conform to PEP-8 2011-03-14 21:35:33 +01:00
init.py Remove weird SigListener class 2011-05-08 14:25:16 +02:00
localeval.py Update FSF address 2006-08-12 05:15:55 +01:00
mbnames.py Update FSF address 2006-08-12 05:15:55 +01:00
syncmaster.py Remove weird SigListener class 2011-05-08 14:25:16 +02:00
threadutil.py Remove weird SigListener class 2011-05-08 14:25:16 +02:00