diff options
Diffstat (limited to 'test/option/debug-presub.py')
-rw-r--r-- | test/option/debug-presub.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/option/debug-presub.py b/test/option/debug-presub.py index b503821..28eeb83 100644 --- a/test/option/debug-presub.py +++ b/test/option/debug-presub.py @@ -39,10 +39,9 @@ sys.exit(0) 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() FILE = Builder(action="$FILECOM") TEMP = Builder(action="$TEMPCOM") |