diff options
author | Simon Glass <sjg@chromium.org> | 2022-01-29 14:14:05 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2022-02-09 12:26:12 -0700 |
commit | d98006997c342435f906317758292fe97c520b47 (patch) | |
tree | f2ce4ee3b9e37f5a1b0b1f6ec09056a2d68c9437 /tools/patman/tools.py | |
parent | c1aa66e75dbfcacab1fbca0e3e19c09e08d932d5 (diff) |
patman: Convert camel case in command.py
Convert this file to snake case and update all files which use it.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/patman/tools.py')
-rw-r--r-- | tools/patman/tools.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/patman/tools.py b/tools/patman/tools.py index 453f2a70167..35fade0f72c 100644 --- a/tools/patman/tools.py +++ b/tools/patman/tools.py @@ -360,7 +360,7 @@ def run_result(name, *args, **kwargs): args = tuple(extra_args) + args name = os.path.expanduser(name) # Expand paths containing ~ all_args = (name,) + args - result = command.RunPipe([all_args], capture=True, capture_stderr=True, + result = command.run_pipe([all_args], capture=True, capture_stderr=True, env=env, raise_on_error=False, binary=binary) if result.return_code: if raise_on_error: @@ -545,7 +545,7 @@ def print_full_help(fname): pager = [lesspath] if lesspath else None if not pager: pager = ['more'] - command.Run(*pager, fname) + command.run(*pager, fname) def download(url, tmpdir_pattern='.patman'): """Download a file to a temporary directory |