MCPcopy Index your code
hub / github.com/StackStorm/st2 / _parse_args

Function _parse_args

tools/log_watcher.py:38–44  ·  view source on GitHub ↗
(args)

Source from the content-addressed store, hash-verified

36
37
38def _parse_args(args):
39 global LOG_ALERT_PERCENT
40 params = {}
41 if len(args) > 1:
42 params["alert_percent"] = args[1]
43 LOG_ALERT_PERCENT = int(args[1])
44 return params
45
46
47def _skip_file(filename):

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected