mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
CI: Fix patchcheck (GH-31708)
This commit is contained in:
parent
bb1c543f4a
commit
23abae621f
2 changed files with 5 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue