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