Move 2.0 changes collected in branches/pending back to trunk for further
[scons.git] / test / CVSCOM.py
index 79acb5ae942bd980c1643c22d154f46d6d47a72d..546e777893d722cdf6eeac6df9486f3c61c25903 100644 (file)
@@ -58,10 +58,9 @@ for f in sys.argv[1:]:
 test.write('SConstruct', """
 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()
 env = Environment(TOOLS = ['default', 'CVS'],
                   BUILDERS={'Cat':Builder(action=cat)},