Move 2.0 changes collected in branches/pending back to trunk for further
[scons.git] / test / Scanner / exception.py
index 4e62f8f39e17d154059f19a5430c631e54d0fcfa..1e22931598c94f72aa858337812c66f396b56996 100644 (file)
@@ -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)})