diff options
author | William Blevins <wblevins001@gmail.com> | 2016-09-20 19:05:06 (GMT) |
---|---|---|
committer | William Blevins <wblevins001@gmail.com> | 2016-09-20 19:05:06 (GMT) |
commit | 226c34a47471c5c27bc9a0c262edd62d713acc81 (patch) | |
tree | a17ce5fe708b05dd585522c5d822a286ac8129d0 /QMTest | |
parent | 2e74f8c28a15f64bad8429ebece227db285f07dc (diff) | |
download | SCons-226c34a47471c5c27bc9a0c262edd62d713acc81.zip SCons-226c34a47471c5c27bc9a0c262edd62d713acc81.tar.gz SCons-226c34a47471c5c27bc9a0c262edd62d713acc81.tar.bz2 |
Futurize stage 2 2to3 fixes only.
Diffstat (limited to 'QMTest')
-rw-r--r-- | QMTest/TestSCons.py | 6 | ||||
-rw-r--r-- | QMTest/scons_tdb.py | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/QMTest/TestSCons.py b/QMTest/TestSCons.py index 98b2f00..0d5dc90 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 76c7fe1..f5c0ae5 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 |