summaryrefslogtreecommitdiffstats
path: root/test/Requires/basic.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/Requires/basic.py')
-rw-r--r--test/Requires/basic.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Requires/basic.py b/test/Requires/basic.py
index 548e6b2..edce13b 100644
--- a/test/Requires/basic.py
+++ b/test/Requires/basic.py
@@ -36,8 +36,8 @@ test = TestSCons.TestSCons()
test.write('SConstruct', """
def append_prereq_func(target, source, env):
fp = open(str(target[0]), 'wb')
- for s in map(str, source):
- fp.write(open(s, 'rb').read())
+ for s in source:
+ fp.write(open(str(s), 'rb').read())
fp.write(open('prereq.out', 'rb').read())
fp.close()
return None