summaryrefslogtreecommitdiffstats
path: root/bin/SConsExamples.py
diff options
context:
space:
mode:
authorWilliam Blevins <wblevins001@gmail.com>2016-09-20 19:05:06 (GMT)
committerWilliam Blevins <wblevins001@gmail.com>2016-09-20 19:05:06 (GMT)
commit226c34a47471c5c27bc9a0c262edd62d713acc81 (patch)
treea17ce5fe708b05dd585522c5d822a286ac8129d0 /bin/SConsExamples.py
parent2e74f8c28a15f64bad8429ebece227db285f07dc (diff)
downloadSCons-226c34a47471c5c27bc9a0c262edd62d713acc81.zip
SCons-226c34a47471c5c27bc9a0c262edd62d713acc81.tar.gz
SCons-226c34a47471c5c27bc9a0c262edd62d713acc81.tar.bz2
Futurize stage 2 2to3 fixes only.
Diffstat (limited to 'bin/SConsExamples.py')
-rw-r--r--bin/SConsExamples.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/SConsExamples.py b/bin/SConsExamples.py
index dd9bfaf..a86968d 100644
--- a/bin/SConsExamples.py
+++ b/bin/SConsExamples.py
@@ -267,7 +267,7 @@ def ensureExampleOutputsExist(dpath):
os.mkdir(generated_examples)
examples = readAllExampleInfos(dpath)
- for key, value in examples.items():
+ for key, value in list(examples.items()):
# Process all scons_output tags
for o in value.outputs:
cpath = os.path.join(generated_examples,
@@ -305,7 +305,7 @@ def createAllExampleOutputs(dpath):
examples = readAllExampleInfos(dpath)
total = len(examples)
idx = 0
- for key, value in examples.items():
+ for key, value in list(examples.items()):
# Process all scons_output tags
print("%.2f%s (%d/%d) %s" % (float(idx + 1) * 100.0 / float(total),
perc, idx + 1, total, key))