summaryrefslogtreecommitdiffstats
path: root/test/Chmod.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/Chmod.py')
-rw-r--r--test/Chmod.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/Chmod.py b/test/Chmod.py
index cf31d00..c00aea0 100644
--- a/test/Chmod.py
+++ b/test/Chmod.py
@@ -45,10 +45,9 @@ Execute(Chmod('d2', 0777))
Execute(Chmod(Dir('d2-Dir'), 0777))
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()
Cat = Action(cat)
env = Environment()