diff options
author | Hugo van Kemenade <hugovk@users.noreply.github.com> | 2022-03-14 13:28:57 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-14 13:28:57 (GMT) |
commit | 23abae621f579014eb29d5c6621f031c8a1a4057 (patch) | |
tree | 8cd0b1853b92784a5356e096026e0a620d8d051a /Tools | |
parent | bb1c543f4a183f5cfdf15aad59f59094d50b37fd (diff) | |
download | cpython-23abae621f579014eb29d5c6621f031c8a1a4057.zip cpython-23abae621f579014eb29d5c6621f031c8a1a4057.tar.gz cpython-23abae621f579014eb29d5c6621f031c8a1a4057.tar.bz2 |
CI: Fix patchcheck (GH-31708)
Diffstat (limited to 'Tools')
-rwxr-xr-x | Tools/scripts/patchcheck.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Tools/scripts/patchcheck.py b/Tools/scripts/patchcheck.py index 4cab66c..a324eaf 100755 --- a/Tools/scripts/patchcheck.py +++ b/Tools/scripts/patchcheck.py @@ -130,6 +130,8 @@ def changed_files(base_branch=None): with subprocess.Popen(cmd.split(), stdout=subprocess.PIPE, cwd=SRCDIR) as st: + if st.wait() != 0: + sys.exit(f'error running {cmd}') for line in st.stdout: line = line.decode().rstrip() status_text, filename = line.split(maxsplit=1) |