MCPcopy Create free account
hub / github.com/ActiveState/code / do

Function do

recipes/Python/496982_Render_farm_script/recipe-496982.py:63–76  ·  view source on GitHub ↗
(cmd, howfarback=0)

Source from the content-addressed store, hash-verified

61 print
62
63def do(cmd, howfarback=0):
64 if DEBUG:
65 if False:
66 try:
67 raise Exception
68 except:
69 tb = sys.exc_info()[2]
70 f = tb.tb_frame.f_back
71 for i in range(howfarback):
72 f = f.f_back
73 print f.f_code.co_filename, f.f_code.co_name, f.f_lineno
74 print cmd
75 if os.system(cmd) != 0:
76 raise Exception(cmd)
77
78############################
79# #

Callers 5

worker_doMethod · 0.70
goMethod · 0.70
remove_old_yuvsFunction · 0.70
titleSequenceMethod · 0.70
encodeMethod · 0.70

Calls 1

rangeFunction · 0.85

Tested by

no test coverage detected