diff options
| author | John Vandenberg <jayvdb@gmail.com> | 2015-10-19 09:40:42 +1100 |
|---|---|---|
| committer | John Vandenberg <jayvdb@gmail.com> | 2015-10-19 09:40:42 +1100 |
| commit | a61a6d732fae956517187405e7f16671998e41cb (patch) | |
| tree | 58a2731d54a7f3b1b4c54d0cd6382a2c6f6e43d3 /ci | |
| parent | 15100248c12b85a00278371fea60f07718a9d499 (diff) | |
| download | python-coveragepy-git-a61a6d732fae956517187405e7f16671998e41cb.tar.gz | |
Python 2.6 str.format does not support unindexed parameters
--HG--
branch : py26-unindexed-parameters
Diffstat (limited to 'ci')
| -rw-r--r-- | ci/download_appveyor.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ci/download_appveyor.py b/ci/download_appveyor.py index a4ef8d53..f640b41a 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 {}'.format(token), + 'Authorization': 'Bearer {0}'.format(token), } return headers @@ -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 {}".format(name) + print " extracting {0}".format(name) ensure_dirs(name) z.extract(name) |
