diff options
Diffstat (limited to 'test/CacheDir/option--cd.py')
-rw-r--r-- | test/CacheDir/option--cd.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/CacheDir/option--cd.py b/test/CacheDir/option--cd.py index 9b9f2f7..b77cfeb 100644 --- a/test/CacheDir/option--cd.py +++ b/test/CacheDir/option--cd.py @@ -42,10 +42,9 @@ test.write(['src', 'SConstruct'], """ def cat(env, source, target): target = str(target[0]) open('cat.out', 'ab').write(target + "\\n") - 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(BUILDERS={'Cat':Builder(action=cat)}) env.Cat('aaa.out', 'aaa.in') |