remove some debug
This commit is contained in:
parent
0216ac29db
commit
eb2663c2db
2 changed files with 0 additions and 5 deletions
|
@ -491,7 +491,6 @@ class TextWin(Win):
|
||||||
if txt.startswith('\n'):
|
if txt.startswith('\n'):
|
||||||
txt = txt[1:]
|
txt = txt[1:]
|
||||||
first = False
|
first = False
|
||||||
log.debug('%s built\n' % len(lines))
|
|
||||||
return lines
|
return lines
|
||||||
return lines[-len(messages):] # return only the needed number of lines
|
return lines[-len(messages):] # return only the needed number of lines
|
||||||
|
|
||||||
|
@ -1061,7 +1060,6 @@ class CommandInput(Input):
|
||||||
res = Input.do_command(self, key)
|
res = Input.do_command(self, key)
|
||||||
if self.on_input:
|
if self.on_input:
|
||||||
self.on_input(self.get_text())
|
self.on_input(self.get_text())
|
||||||
log.debug('do_command returns : %s\n' % res)
|
|
||||||
return res
|
return res
|
||||||
|
|
||||||
def success(self):
|
def success(self):
|
||||||
|
@ -1069,9 +1067,7 @@ class CommandInput(Input):
|
||||||
call the success callback, passing the text as argument
|
call the success callback, passing the text as argument
|
||||||
"""
|
"""
|
||||||
self.on_input = None
|
self.on_input = None
|
||||||
log.debug('before on_success')
|
|
||||||
res = self.on_success(self.get_text())
|
res = self.on_success(self.get_text())
|
||||||
log.debug('after on_success, res: %s'%res)
|
|
||||||
return res
|
return res
|
||||||
|
|
||||||
def abort(self):
|
def abort(self):
|
||||||
|
|
|
@ -1345,7 +1345,6 @@ class Core(object):
|
||||||
return
|
return
|
||||||
res = self.current_tab().on_input(key)
|
res = self.current_tab().on_input(key)
|
||||||
if res:
|
if res:
|
||||||
log.debug('RES is true')
|
|
||||||
self.refresh_window()
|
self.refresh_window()
|
||||||
|
|
||||||
def on_roster_enter_key(self, roster_row):
|
def on_roster_enter_key(self, roster_row):
|
||||||
|
|
Loading…
Reference in a new issue