summaryrefslogtreecommitdiff
path: root/tools/patman/patchstream.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2025-02-03 09:26:45 -0700
committerTom Rini <trini@konsulko.com>2025-03-04 13:31:49 -0600
commit3d094ce28a22690c3d672988af5f161310822603 (patch)
tree5c459f23f717101ef39d7e0bc5fdef4d810507d8 /tools/patman/patchstream.py
parentf8456c91aad8259ab08bdf3654b8ee8c0187a45d (diff)
u_boot_pylib: Add a function to run a single command
Add a helper to avoid needing to use a list within a list for this simple case. Update existing users of runpipe() to use this where possible. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/patman/patchstream.py')
-rw-r--r--tools/patman/patchstream.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/patman/patchstream.py b/tools/patman/patchstream.py
index 4955f6aaab9..940b50ca8d4 100644
--- a/tools/patman/patchstream.py
+++ b/tools/patman/patchstream.py
@@ -711,7 +711,7 @@ def get_list(commit_range, git_dir=None, count=None):
"""
params = gitutil.log_cmd(commit_range, reverse=True, count=count,
git_dir=git_dir)
- return command.run_pipe([params], capture=True).stdout
+ return command.run_one(*params, capture=True).stdout
def get_metadata_for_list(commit_range, git_dir=None, count=None,
series=None, allow_overwrite=False):