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:
Daniel Burrows 2006-12-01 12:27:12 +01:00
parent dc8f3c944d
commit 1844cefd17

View File

@ -527,11 +527,6 @@ class Blinkenlights(BlinkenBase, UIBase):
def terminate(s, exitstatus = 0, errortitle = None, errormsg = None):
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)
def threadException(s, thread):