docker-offlineimap/offlineimap/ui
Sebastian Spaeth 8970a1500b UIBase: Fix and cleanup register/unregisterthread
Registering a thread (associating it with a certain account name) would
fail if it was already registered. However, as we a) never unregister most
threads (bad) and b) single-threaded mode reuses threads, we failed when
syncing multiple accounts in single-threading mode.

This commit cleans up the functions to not make re-registering a thread
fatal (it could be legitimate, however it *should* not occur). Future
work needs to be done to unregister new threads at the appropriate places.

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
2011-09-29 15:44:30 +02:00
..
__init__.py Allow to use nicer UI names 2011-03-06 15:33:29 +01:00
Blinkenlights.py Don't pass a list to ui.copyingmessage() 2011-08-17 20:41:32 +02:00
Curses.py Remove deprecated calls to apply() 2011-09-27 13:00:12 +02:00
debuglock.py cleanup import satements 2011-05-12 18:26:29 +02:00
Machine.py Fix copyingmessage() in Machine UI 2011-08-19 18:25:04 +02:00
Noninteractive.py cleanup import statements and conform to PEP-8 2011-03-14 21:35:33 +01:00
TTY.py cleanup import satements 2011-05-12 18:26:29 +02:00
UIBase.py UIBase: Fix and cleanup register/unregisterthread 2011-09-29 15:44:30 +02:00