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:
		| @@ -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): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Daniel Burrows
					Daniel Burrows