[MachineUI] Remove unneeded "print 't'" statement
1) it's print('t') now and 2) this was a superfluous statement. This broke python3 Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
This commit is contained in:
parent
74fc902967
commit
8b6af63d83
@ -122,12 +122,11 @@ class MachineUI(UIBase):
|
|||||||
"\f".join(flags),
|
"\f".join(flags),
|
||||||
dest))
|
dest))
|
||||||
|
|
||||||
def threadException(s, thread):
|
def threadException(self, thread):
|
||||||
print s.getThreadExceptionString(thread)
|
self._printData('threadException', "%s\n%s" % \
|
||||||
s._printData('threadException', "%s\n%s" % \
|
(thread.getName(), self.getThreadExceptionString(thread)))
|
||||||
(thread.getName(), s.getThreadExceptionString(thread)))
|
self.delThreadDebugLog(thread)
|
||||||
s.delThreadDebugLog(thread)
|
self.terminate(100)
|
||||||
s.terminate(100)
|
|
||||||
|
|
||||||
def terminate(s, exitstatus = 0, errortitle = '', errormsg = ''):
|
def terminate(s, exitstatus = 0, errortitle = '', errormsg = ''):
|
||||||
s._printData('terminate', "%d\n%s\n%s" % (exitstatus, errortitle, errormsg))
|
s._printData('terminate', "%d\n%s\n%s" % (exitstatus, errortitle, errormsg))
|
||||||
|
Loading…
Reference in New Issue
Block a user