MCPcopy Create free account
hub / github.com/NetSys/bess / loop

Method loop

bessctl/cli.py:520–534  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

518 self.fout.flush()
519
520 def loop(self):
521 self.disable_echoctl()
522
523 try:
524 self.stop_loop = False
525
526 # the main command loop
527 while not self.stop_loop:
528 self.process_one_line()
529 except EOFError:
530 if self.interactive:
531 self.fout.write('\n')
532 finally:
533 self.save_history()
534 self.restore_echoctl()

Callers 1

interactiveFunction · 0.80

Calls 4

disable_echoctlMethod · 0.95
process_one_lineMethod · 0.95
save_historyMethod · 0.95
restore_echoctlMethod · 0.95

Tested by

no test coverage detected