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