diff --git a/scripts/phabtalk/apply_patch.py b/scripts/phabtalk/apply_patch.py index f17c957..de9b80b 100755 --- a/scripts/phabtalk/apply_patch.py +++ b/scripts/phabtalk/apply_patch.py @@ -59,8 +59,7 @@ def _apply_patch(diff_id: str, conduit_token: str, host: str): cmd = 'arc patch --nobranch --no-ansi --diff "{}" --nocommit '\ '--conduit-token "{}" --conduit-uri "{}"'.format( diff_id, conduit_token, host ) - result = subprocess.run(cmd, capture_output=True, stderr=subprocess.STDOUT, - shell=True, text=True) + result = subprocess.run(cmd, capture_output=True, shell=True, text=True) if result.returncode != 0: print('ERROR: arc patch failed with error code {} and message:'.format(result.returncode)) print(result.stdout + result.stderr)