MCPcopy
hub / github.com/RUB-NDS/PRET / onecmd

Method onecmd

printer.py:136–141  ·  view source on GitHub ↗
(self, line)

Source from the content-addressed store, hash-verified

134 # --------------------------------------------------------------------
135 # catch-all wrapper to guarantee continuation on unhandled exceptions
136 def onecmd(self, line):
137 try:
138 cmd.Cmd.onecmd(self, line)
139 except Exception as e:
140 print(traceback.print_exc())
141 output().errmsg("Program Error", e)
142
143 # ====================================================================
144

Callers 11

do_loadMethod · 0.95
do_loopMethod · 0.95
do_appendMethod · 0.95
do_setMethod · 0.80
do_pagecountMethod · 0.80
do_renameMethod · 0.80
do_crossMethod · 0.80
do_replaceMethod · 0.80
dictdumpMethod · 0.80
do_resourceMethod · 0.80
do_setMethod · 0.80

Calls 2

outputClass · 0.90
errmsgMethod · 0.80

Tested by

no test coverage detected