summaryrefslogtreecommitdiff
path: root/QMTest
diff options
context:
space:
mode:
authorWilliam Blevins <wblevins001@gmail.com>2016-09-20 15:05:06 -0400
committerWilliam Blevins <wblevins001@gmail.com>2016-09-20 15:05:06 -0400
commita866042810446ca47cf7479f25a005f0550a163f (patch)
treea17ce5fe708b05dd585522c5d822a286ac8129d0 /QMTest
parentdd33f618a671f82ee15d427851dac074668b2713 (diff)
downloadscons-a866042810446ca47cf7479f25a005f0550a163f.tar.gz
Futurize stage 2 2to3 fixes only.
Diffstat (limited to 'QMTest')
-rw-r--r--QMTest/TestSCons.py6
-rw-r--r--QMTest/scons_tdb.py2
2 files changed, 4 insertions, 4 deletions
diff --git a/QMTest/TestSCons.py b/QMTest/TestSCons.py
index 98b2f00c..0d5dc901 100644
--- a/QMTest/TestSCons.py
+++ b/QMTest/TestSCons.py
@@ -1233,7 +1233,7 @@ class TimeSCons(TestSCons):
self.variables = kw.get('variables')
default_calibrate_variables = []
if self.variables is not None:
- for variable, value in self.variables.items():
+ for variable, value in list(self.variables.items()):
value = os.environ.get(variable, value)
try:
value = int(value)
@@ -1289,7 +1289,7 @@ class TimeSCons(TestSCons):
"""
if 'options' not in kw and self.variables:
options = []
- for variable, value in self.variables.items():
+ for variable, value in list(self.variables.items()):
options.append('%s=%s' % (variable, value))
kw['options'] = ' '.join(options)
if self.calibrate:
@@ -1315,7 +1315,7 @@ class TimeSCons(TestSCons):
self.elapsed_time(),
"seconds",
sort=0)
- for name, args in stats.items():
+ for name, args in list(stats.items()):
self.trace(name, trace, **args)
def uptime(self):
diff --git a/QMTest/scons_tdb.py b/QMTest/scons_tdb.py
index 76c7fe10..f5c0ae51 100644
--- a/QMTest/scons_tdb.py
+++ b/QMTest/scons_tdb.py
@@ -92,7 +92,7 @@ def get_explicit_arguments(e):
# Determine which subset of the 'arguments' have been set
# explicitly.
explicit_arguments = {}
- for name, field in arguments.items():
+ for name, field in list(arguments.items()):
# Do not record computed fields.
if field.IsComputed():
continue