示例#1
0
 def _log(self, level, text):
     ConsoleApplication._log(self, level, text)
     if self._logfile is not None:
         self._logfile.write(text + "\n")
示例#2
0
 def __init__(self):
     self._results_received = threading.Event()
     ConsoleApplication.__init__(self, self._await_keys)
示例#3
0
 def __init__(self):
     ConsoleApplication.__init__(self, self._await_ctrl_c)