diff --git a/offlineimap/head/offlineimap/ui/Blinkenlights.py b/offlineimap/head/offlineimap/ui/Blinkenlights.py index 14aee7d..6ed26bc 100644 --- a/offlineimap/head/offlineimap/ui/Blinkenlights.py +++ b/offlineimap/head/offlineimap/ui/Blinkenlights.py @@ -21,8 +21,6 @@ from offlineimap.ui.UIBase import UIBase import thread from offlineimap.threadutil import MultiLock -from debuglock import DebuggingLock - class BlinkenBase: """This is a mix-in class that should be mixed in with either UIBase or another appropriate base class. The Tk interface, for instance, diff --git a/offlineimap/head/offlineimap/ui/Curses.py b/offlineimap/head/offlineimap/ui/Curses.py index befefb2..a96954b 100644 --- a/offlineimap/head/offlineimap/ui/Curses.py +++ b/offlineimap/head/offlineimap/ui/Curses.py @@ -24,7 +24,6 @@ from offlineimap import version, threadutil from offlineimap.threadutil import MultiLock import curses, curses.panel, curses.textpad, curses.wrapper -from debuglock import DebuggingLock acctkeys = '1234567890abcdefghijklmnoprstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-=;/.,' @@ -229,9 +228,9 @@ class InputHandler: def __init__(s, util): s.c = util s.bgchar = None - s.inputlock = DebuggingLock('inputlock') + s.inputlock = Lock() s.lockheld = 0 - s.statuslock = DebuggingLock('statuslock') + s.statuslock = Lock() s.startup = Event() s.startthread() @@ -299,7 +298,7 @@ class InputHandler: class Blinkenlights(BlinkenBase, UIBase): def init_banner(s): s.af = {} - s.aflock = DebuggingLock('aflock') + s.aflock = Lock() s.c = CursesUtil() s.text = [] BlinkenBase.init_banner(s)