diff options
Diffstat (limited to 'test/TARGET-dir.py')
-rw-r--r-- | test/TARGET-dir.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/TARGET-dir.py b/test/TARGET-dir.py index d56127d..9e99087 100644 --- a/test/TARGET-dir.py +++ b/test/TARGET-dir.py @@ -43,10 +43,9 @@ test.subdir('src', 'build1', 'build2') 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(CPPPATH='${TARGET.dir}') env.Append(BUILDERS = {'Cat' : Builder(action=cat)}) |