summaryrefslogtreecommitdiffstats
path: root/test/Install/wrap-by-attribute.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/Install/wrap-by-attribute.py')
-rw-r--r--test/Install/wrap-by-attribute.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/Install/wrap-by-attribute.py b/test/Install/wrap-by-attribute.py
index e36d11d..912551e 100644
--- a/test/Install/wrap-by-attribute.py
+++ b/test/Install/wrap-by-attribute.py
@@ -46,10 +46,9 @@ import os.path
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(DESTDIR='dest')