summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/BuilderTests.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/SCons/BuilderTests.py')
-rw-r--r--src/engine/SCons/BuilderTests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/SCons/BuilderTests.py b/src/engine/SCons/BuilderTests.py
index 50cf778..b1443bc 100644
--- a/src/engine/SCons/BuilderTests.py
+++ b/src/engine/SCons/BuilderTests.py
@@ -124,7 +124,7 @@ class Environment:
def has_key(self, item):
return item in self.d
def keys(self):
- return self.d.keys()
+ return list(self.d.keys())
def get(self, key, value=None):
return self.d.get(key, value)
def Override(self, overrides):
@@ -135,7 +135,7 @@ class Environment:
def _update(self, dict):
self.d.update(dict)
def items(self):
- return self.d.items()
+ return list(self.d.items())
def sig_dict(self):
d = {}
for k,v in self.items(): d[k] = v