summaryrefslogtreecommitdiff
path: root/ci/download_appveyor.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2019-09-01 18:20:32 -0400
committerNed Batchelder <ned@nedbatchelder.com>2019-09-01 18:20:32 -0400
commitada27a855934588cf753f8712bd72d41eadb1058 (patch)
tree5666295cdd896f9e3810a5467a4e9fac8b76ae0a /ci/download_appveyor.py
parent6ac3ca707457c62c16470c805fc5fa4e38fd59eb (diff)
downloadpython-coveragepy-git-ada27a855934588cf753f8712bd72d41eadb1058.tar.gz
No need for format indexes (mostly)
Diffstat (limited to 'ci/download_appveyor.py')
-rw-r--r--ci/download_appveyor.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/ci/download_appveyor.py b/ci/download_appveyor.py
index 7cec413c..a3d81496 100644
--- a/ci/download_appveyor.py
+++ b/ci/download_appveyor.py
@@ -17,7 +17,7 @@ def make_auth_headers():
token = f.read().strip()
headers = {
- 'Authorization': 'Bearer {0}'.format(token),
+ 'Authorization': 'Bearer {}'.format(token),
}
return headers
@@ -50,7 +50,7 @@ def download_latest_artifacts(account_project):
for artifact in artifacts:
is_zip = artifact['type'] == "Zip"
filename = artifact['fileName']
- print(" {0}, {1} bytes".format(filename, artifact['size']))
+ print(" {}, {} bytes".format(filename, artifact['size']))
url = make_url(
"/buildjobs/{jobid}/artifacts/{filename}",
@@ -86,7 +86,7 @@ def unpack_zipfile(filename):
with open(filename, 'rb') as fzip:
z = zipfile.ZipFile(fzip)
for name in z.namelist():
- print(" extracting {0}".format(name))
+ print(" extracting {}".format(name))
ensure_dirs(name)
z.extract(name)