summaryrefslogtreecommitdiff
path: root/igor.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 /igor.py
parent6ac3ca707457c62c16470c805fc5fa4e38fd59eb (diff)
downloadpython-coveragepy-git-ada27a855934588cf753f8712bd72d41eadb1058.tar.gz
No need for format indexes (mostly)
Diffstat (limited to 'igor.py')
-rw-r--r--igor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/igor.py b/igor.py
index 1bb7d19f..5d7828c3 100644
--- a/igor.py
+++ b/igor.py
@@ -218,7 +218,7 @@ def do_zip_mods():
(u'cp1252', u'“hi”'),
]
for encoding, text in details:
- filename = 'encoded_{0}.py'.format(encoding)
+ filename = 'encoded_{}.py'.format(encoding)
ords = [ord(c) for c in text]
source_text = source.format(encoding=encoding, text=text, ords=ords)
zf.writestr(filename, source_text.encode(encoding))