Skip to content

Commit

Permalink
Changes to check script
Browse files Browse the repository at this point in the history
Signed-off-by: Enrique Belarte Luque <[email protected]>
  • Loading branch information
enriquebelarte committed Jan 29, 2025
1 parent 8d3f273 commit b8b313f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/check_changes.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ def create_branch_and_pr(driver_version, kernel_version):
#print(f"REQUEST: {title} | Headers: {headers} | Data: {data} | URL: {url}")
pr = requests.post(url, headers=headers, data=data)
if pr.status_code == 200:
print(pr.json)
else:
raise SystemExit(f'Error: Got Status {pr.status.code}.')
print(pr.json)
else:
raise SystemExit(f'Error: Got Status {pr.status.code}.')

# Main script
if __name__ == "__main__":
Expand Down

0 comments on commit b8b313f

Please sign in to comment.