summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Script/Interactive.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 /src/engine/SCons/Script/Interactive.py
parent2e74f8c28a15f64bad8429ebece227db285f07dc (diff)
downloadSCons-226c34a47471c5c27bc9a0c262edd62d713acc81.zip
SCons-226c34a47471c5c27bc9a0c262edd62d713acc81.tar.gz
SCons-226c34a47471c5c27bc9a0c262edd62d713acc81.tar.bz2
Futurize stage 2 2to3 fixes only.
Diffstat (limited to 'src/engine/SCons/Script/Interactive.py')
-rw-r--r--src/engine/SCons/Script/Interactive.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/SCons/Script/Interactive.py b/src/engine/SCons/Script/Interactive.py
index e7a0658..3c3d23a 100644
--- a/src/engine/SCons/Script/Interactive.py
+++ b/src/engine/SCons/Script/Interactive.py
@@ -121,7 +121,7 @@ class SConsInteractiveCmd(cmd.Cmd):
def __init__(self, **kw):
cmd.Cmd.__init__(self)
- for key, val in kw.items():
+ for key, val in list(kw.items()):
setattr(self, key, val)
if sys.platform == 'win32':
@@ -250,7 +250,7 @@ class SConsInteractiveCmd(cmd.Cmd):
while n:
n = walker.get_next()
- for node in seen_nodes.keys():
+ for node in list(seen_nodes.keys()):
# Call node.clear() to clear most of the state
node.clear()
# node.clear() doesn't reset node.state, so call