summaryrefslogtreecommitdiffstats
path: root/test/Touch.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/Touch.py')
-rw-r--r--test/Touch.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/Touch.py b/test/Touch.py
index bf85dcb..7c1817a 100644
--- a/test/Touch.py
+++ b/test/Touch.py
@@ -39,10 +39,9 @@ Execute(Touch('f1'))
Execute(Touch(File('f1-File')))
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()