Remove a redundant (and mostly harmless) output of the error string from the Curses UI.
It looks like I accidentally recorded the wrong version of Curses.py -- originally this code was there, but I moved it over to UIBase so it would cover the TTY UI also.
This commit is contained in:
parent
dc8f3c944d
commit
1844cefd17
@ -527,11 +527,6 @@ class Blinkenlights(BlinkenBase, UIBase):
|
|||||||
|
|
||||||
def terminate(s, exitstatus = 0, errortitle = None, errormsg = None):
|
def terminate(s, exitstatus = 0, errortitle = None, errormsg = None):
|
||||||
s.c.stop()
|
s.c.stop()
|
||||||
if errormsg <> None:
|
|
||||||
if errortitle <> None:
|
|
||||||
sys.stderr.write('%s: %s\n'%(errortitle, errormsg))
|
|
||||||
else:
|
|
||||||
sys.stderr.write('%s\n' % errormsg)
|
|
||||||
UIBase.terminate(s, exitstatus = exitstatus, errortitle = errortitle, errormsg = errormsg)
|
UIBase.terminate(s, exitstatus = exitstatus, errortitle = errortitle, errormsg = errormsg)
|
||||||
|
|
||||||
def threadException(s, thread):
|
def threadException(s, thread):
|
||||||
|
Loading…
Reference in New Issue
Block a user