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 | 79627de376bd5d5102f678f3d9e0dd77c9e7698e (patch) | |
| tree | 74047effab1cdc42b262eb9230fd06f6c2019d5b /ci | |
| parent | 2825bdb540f1b14ae9855e57ecb0b1e4d1098894 (diff) | |
| download | python-coveragepy-79627de376bd5d5102f678f3d9e0dd77c9e7698e.tar.gz | |
Python 2.6 str.format does not support 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 a4ef8d5..f640b41 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) |
