/offlineimap/head: changeset 330
Removed debug code. OK, NOW this is 3.99.6 :-)
This commit is contained in:
parent
16156993b3
commit
8bea6112a8
@ -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,
|
||||||
|
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user