summaryrefslogtreecommitdiffstats
path: root/test/Deprecated/SConscript-build_dir.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/Deprecated/SConscript-build_dir.py')
-rw-r--r--test/Deprecated/SConscript-build_dir.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/Deprecated/SConscript-build_dir.py b/test/Deprecated/SConscript-build_dir.py
index d54f3af..41b5222 100644
--- a/test/Deprecated/SConscript-build_dir.py
+++ b/test/Deprecated/SConscript-build_dir.py
@@ -61,10 +61,9 @@ var9 = Dir('../build/var9')
def cat(env, source, target):
target = str(target[0])
- source = map(str, source)
f = open(target, "wb")
for src in source:
- f.write(open(src, "rb").read())
+ f.write(open(str(src), "rb").read())
f.close()
env = Environment(BUILDERS={'Cat':Builder(action=cat)},