[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),
|
||||
dest))
|
||||
|
||||
def threadException(s, thread):
|
||||
print s.getThreadExceptionString(thread)
|
||||
s._printData('threadException', "%s\n%s" % \
|
||||
(thread.getName(), s.getThreadExceptionString(thread)))
|
||||
s.delThreadDebugLog(thread)
|
||||
s.terminate(100)
|
||||
def threadException(self, thread):
|
||||
self._printData('threadException', "%s\n%s" % \
|
||||
(thread.getName(), self.getThreadExceptionString(thread)))
|
||||
self.delThreadDebugLog(thread)
|
||||
self.terminate(100)
|
||||
|
||||
def terminate(s, exitstatus = 0, errortitle = '', errormsg = ''):
|
||||
s._printData('terminate', "%d\n%s\n%s" % (exitstatus, errortitle, errormsg))
|
||||
|
Loading…
Reference in New Issue
Block a user