summaryrefslogtreecommitdiffstats
path: root/test/Scanner/exception.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/Scanner/exception.py')
-rw-r--r--test/Scanner/exception.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/Scanner/exception.py b/test/Scanner/exception.py
index 4e62f8f..1e22931 100644
--- a/test/Scanner/exception.py
+++ b/test/Scanner/exception.py
@@ -67,11 +67,9 @@ def process(outf, inf):
def cat(env, source, target):
target = str(target[0])
- source = map(str, source)
-
outf = open(target, 'wb')
for src in source:
- process(outf, open(src, 'rb'))
+ process(outf, open(str(src), 'rb'))
outf.close()
env = Environment(BUILDERS={'Cat':Builder(action=cat)})