Skip to content

Commit

Permalink
chore: Remove single-use variable
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Oct 20, 2024
1 parent e71843e commit ae02fbe
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,8 @@ def refresh():
writer = csv.writer(f, lineterminator="\n")
for version in versions:
name = version.repository_full_name
url = f"https://api.github.com/repos/{name}/releases?per_page=100"

response = session.get(url)
response = session.get(f"https://api.github.com/repos/{name}/releases?per_page=100")
response.raise_for_status()

for release in response.json():
Expand Down

0 comments on commit ae02fbe

Please sign in to comment.