Skip to content

Commit

Permalink
Fix one pylint snag
Browse files Browse the repository at this point in the history
  • Loading branch information
nedbat committed Dec 19, 2020
1 parent f1dc6cc commit e65df09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/download_gha_artifacts.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def utc2local(timestring):
r = requests.get(f"https://api.github.com/repos/{repo_owner}/actions/artifacts")
dists = [a for a in r.json()["artifacts"] if a["name"] == "dist"]
if not dists:
print(f"No recent dists!")
print("No recent dists!")
else:
latest = max(dists, key=lambda a: a["created_at"])
print(f"Artifacts created at {utc2local(latest['created_at'])}")
Expand Down

0 comments on commit e65df09

Please sign in to comment.