Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update tools/test-my-pr.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
  • Loading branch information
danmar and Copilot authored Apr 25, 2026
commit 4075c7ddfc61ea82fd273d831adcd07341b36324
8 changes: 4 additions & 4 deletions tools/test-my-pr.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ def format_float(a, b=1):
def ftp_get(url):
try:
response = requests.get(url, timeout=300)
if response.ok:
return response.content
except Exception:
pass
response.raise_for_status()
return response.content
except requests.RequestException as err:
print('Failed to fetch {}: {}'.format(url, err))
return None


Expand Down
Loading