MCPcopy
hub / github.com/apenwarr/redo / _set_defint

Function _set_defint

redo/cmd_redo.py:68–69  ·  view source on GitHub ↗
(name, val)

Source from the content-addressed store, hash-verified

66 os.environ['REDO_DEBUG_PIDS'] = '1'
67 # These might get overridden in subprocesses in builder.py
68 def _set_defint(name, val):
69 os.environ[name] = os.environ.get(name, str(int(val)))
70 _set_defint('REDO_LOG', opt.log)
71 _set_defint('REDO_PRETTY', opt.pretty)
72 _set_defint('REDO_COLOR', opt.color)

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected