fixed raise statement
This commit is contained in:
parent
f8eaba6cf1
commit
b53b2110ef
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ def _apply_patch(diff_id: str, conduit_token: str, host: str):
|
||||||
if result.returncode != 0:
|
if result.returncode != 0:
|
||||||
print('ERROR: arc patch failed with error code {} and message:'.format(result.returncode))
|
print('ERROR: arc patch failed with error code {} and message:'.format(result.returncode))
|
||||||
print(result.stdout + result.stderr)
|
print(result.stdout + result.stderr)
|
||||||
raise
|
raise subprocess.CalledProcessError('ERROR: arc patch failed')
|
||||||
print('Patching completed.')
|
print('Patching completed.')
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|
Loading…
Reference in a new issue