summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Script/Interactive.py
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2016-09-30 19:04:09 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2016-09-30 19:04:09 (GMT)
commit696af9192158271e5167e6227a5dfaa614a2fb06 (patch)
tree9783594e71e74327c1c82dea4315e1df3aac1606 /src/engine/SCons/Script/Interactive.py
parentf3a1b325d4baf5f4bc554a596b676e2029046b7c (diff)
parent6dd3fd8b838d18d65edd6e7adabf3a363437f8a9 (diff)
downloadSCons-696af9192158271e5167e6227a5dfaa614a2fb06.zip
SCons-696af9192158271e5167e6227a5dfaa614a2fb06.tar.gz
SCons-696af9192158271e5167e6227a5dfaa614a2fb06.tar.bz2
update from upstream
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