summaryrefslogtreecommitdiffstats
path: root/test/preserve-source.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/preserve-source.py')
-rw-r--r--test/preserve-source.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/preserve-source.py b/test/preserve-source.py
index cd0b3a3..6e09073 100644
--- a/test/preserve-source.py
+++ b/test/preserve-source.py
@@ -34,7 +34,7 @@ test = TestSCons.TestSCons()
test.write('SConstruct', r"""
def cat(env, source, target):
target = str(target[0])
- source = map(str, source)
+ source = list(map(str, source))
print 'cat(%s) > %s' % (source, target)
f = open(target, "wb")
for src in source: