docker-offlineimap/offlineimap/ui
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
..
__init__.py Allow to use nicer UI names 2011-03-06 15:33:29 +01:00
Blinkenlights.py Remove weird SigListener class 2011-05-08 14:25:16 +02:00
Curses.py Remove weird SigListener class 2011-05-08 14:25:16 +02:00
debuglock.py Update FSF address 2006-08-12 05:15:55 +01:00
Machine.py Don't pass list to ui.adding/deletingflags 2011-03-07 21:11:10 +01:00
Noninteractive.py cleanup import statements and conform to PEP-8 2011-03-14 21:35:33 +01:00
TTY.py cleanup import statements and conform to PEP-8 2011-03-14 21:35:33 +01:00
UIBase.py Remove weird SigListener class 2011-05-08 14:25:16 +02:00