Fix f-string in Appveyor package download script

This commit is contained in:
Daniele Varrazzo 2021-11-03 14:15:02 +01:00
parent 63d30aa397
commit 7236a1f851

View File

@ -52,7 +52,7 @@ def main():
jobs = data["build"]["jobs"] jobs = data["build"]["jobs"]
for job in jobs: for job in jobs:
if job["status"] != "success": if job["status"] != "success":
raise ScriptError("status for job {job['jobId']} is {job['status']}") raise ScriptError(f"status for job {job['jobId']} is {job['status']}")
logger.info(f"fetching artifacts info for {job['name']}") logger.info(f"fetching artifacts info for {job['name']}")
resp = s.get(f"{API_URL}/buildjobs/{job['jobId']}/artifacts/") resp = s.get(f"{API_URL}/buildjobs/{job['jobId']}/artifacts/")