/offlineimap/head: changeset 330

Removed debug code. OK, NOW this is 3.99.6 :-)
This commit is contained in:
jgoerzen 2003-01-07 04:57:58 +01:00
parent 16156993b3
commit 8bea6112a8
2 changed files with 3 additions and 6 deletions

View File

@ -21,8 +21,6 @@ from offlineimap.ui.UIBase import UIBase
import thread import thread
from offlineimap.threadutil import MultiLock from offlineimap.threadutil import MultiLock
from debuglock import DebuggingLock
class BlinkenBase: class BlinkenBase:
"""This is a mix-in class that should be mixed in with either UIBase """This is a mix-in class that should be mixed in with either UIBase
or another appropriate base class. The Tk interface, for instance, or another appropriate base class. The Tk interface, for instance,

View File

@ -24,7 +24,6 @@ from offlineimap import version, threadutil
from offlineimap.threadutil import MultiLock from offlineimap.threadutil import MultiLock
import curses, curses.panel, curses.textpad, curses.wrapper import curses, curses.panel, curses.textpad, curses.wrapper
from debuglock import DebuggingLock
acctkeys = '1234567890abcdefghijklmnoprstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-=;/.,' acctkeys = '1234567890abcdefghijklmnoprstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-=;/.,'
@ -229,9 +228,9 @@ class InputHandler:
def __init__(s, util): def __init__(s, util):
s.c = util s.c = util
s.bgchar = None s.bgchar = None
s.inputlock = DebuggingLock('inputlock') s.inputlock = Lock()
s.lockheld = 0 s.lockheld = 0
s.statuslock = DebuggingLock('statuslock') s.statuslock = Lock()
s.startup = Event() s.startup = Event()
s.startthread() s.startthread()
@ -299,7 +298,7 @@ class InputHandler:
class Blinkenlights(BlinkenBase, UIBase): class Blinkenlights(BlinkenBase, UIBase):
def init_banner(s): def init_banner(s):
s.af = {} s.af = {}
s.aflock = DebuggingLock('aflock') s.aflock = Lock()
s.c = CursesUtil() s.c = CursesUtil()
s.text = [] s.text = []
BlinkenBase.init_banner(s) BlinkenBase.init_banner(s)