Skip to content

Commit

Permalink
Update list_packages to read package names from dict (#88)
Browse files Browse the repository at this point in the history
Do not fail on new packages json format
  • Loading branch information
kwryankrattiger authored Jun 30, 2023
1 parent 5e89a60 commit c236109
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spackbot/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ async def list_packages():
) as response:
response = await response.json()

return [x.lower() for x in response]
return [x["name"].lower() for x in response]


async def changed_packages(gh, pull_request):
Expand Down

0 comments on commit c236109

Please sign in to comment.