[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:
Sebastian Spaeth 2012-02-05 12:00:28 +01:00
parent 74fc902967
commit 8b6af63d83

View File

@ -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))