summaryrefslogtreecommitdiffstats
path: root/test/SourceCode.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/SourceCode.py')
-rw-r--r--test/SourceCode.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/SourceCode.py b/test/SourceCode.py
index 0f8a5c1..91af7da 100644
--- a/test/SourceCode.py
+++ b/test/SourceCode.py
@@ -41,10 +41,9 @@ import os
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()
def sc_cat(env, source, target):