Skip to content
Snippets Groups Projects
Verified Commit a6f188af authored by Oliver Smith's avatar Oliver Smith Committed by Newbyte
Browse files

CI: common.run_pmbootstrap: use simple check=True (MR 5633)

Use check=True instead of running check_returncode() afterwards, it has
the same effect and is shorter.
parent 4ef0a4e9
Branches
No related tags found
1 merge request!5633linux-purism-librem5: add pmb:kconfigcheck-librem5
......@@ -47,8 +47,7 @@ def commit_message_has_string(needle):
def run_pmbootstrap(parameters):
""" Run pmbootstrap with the pmaports dir as --aports """
cmd = ["pmbootstrap", "--aports", get_pmaports_dir()] + parameters
result = subprocess.run(cmd, universal_newlines=True)
result.check_returncode()
subprocess.run(cmd, universal_newlines=True, check=True)
def get_upstream_branch():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment