MCPcopy
hub / github.com/pyload/pyload / run

Method run

pyLoadCli.py:378–390  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

376 self.cli = cli
377
378 def run(self):
379 while True:
380 sleep(1)
381 try:
382 self.cli.refresh()
383 except ConnectionClosed:
384 os.system("clear")
385 print _("pyLoad was terminated")
386 _exit(0)
387 except Exception, e:
388 println(2, red(str(e)))
389 self.cli.reset()
390 print_exc()
391
392
393def print_help(config):

Callers

nothing calls this directly

Calls 5

printlnFunction · 0.85
redFunction · 0.85
refreshMethod · 0.80
_Function · 0.50
resetMethod · 0.45

Tested by

no test coverage detected