def VistrailsExceptHook(type, value, tb): sys.__excepthook__(type, value, tb) lines = traceback.format_exception(type, value, tb) CaptureAPI.printApp(string.join(lines))
def write(self, text): """ write(text: string) -> None """ CaptureAPI.printApp(text)