From 170892bfa0c7cdb93154a1810bf72ed109810258 Mon Sep 17 00:00:00 2001 From: Tim Whisonant Date: Tue, 7 Nov 2023 11:49:04 -0800 Subject: [PATCH] Fix common_util.py --- python/pacsign/pacsign/common_util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/pacsign/pacsign/common_util.py b/python/pacsign/pacsign/common_util.py index a2aecf59761c..4114718e4dc3 100755 --- a/python/pacsign/pacsign/common_util.py +++ b/python/pacsign/pacsign/common_util.py @@ -103,7 +103,7 @@ def run_command(command, printed_cmd=None, return_code=0, allow_error=False): command = command.split() try: - p = subprocess.run(cmd, check=True, capture_output=True, encoding='ascii') + p = subprocess.run(command, check=True, capture_output=True, encoding='ascii') except subprocess.CalledProcessError: assert allow_error, ( 'Fail to run command "%s", error code %d =>\n%s'