diff options
author | Steven Knight <knight@baldmt.com> | 2004-10-09 03:23:36 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2004-10-09 03:23:36 (GMT) |
commit | a538b7dded2a3d4ff54fdc9598bb8c9578c7d7d5 (patch) | |
tree | e0e0d0df134f2f47857e0a202e6ea95e78552889 /test/option/debug-findlibs.py | |
parent | 6f708d0ca8b7f61a1d7ba98a945e32b25417952d (diff) | |
download | SCons-a538b7dded2a3d4ff54fdc9598bb8c9578c7d7d5.zip SCons-a538b7dded2a3d4ff54fdc9598bb8c9578c7d7d5.tar.gz SCons-a538b7dded2a3d4ff54fdc9598bb8c9578c7d7d5.tar.bz2 |
Win32 portability fixes for tests.
Diffstat (limited to 'test/option/debug-findlibs.py')
-rw-r--r-- | test/option/debug-findlibs.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/option/debug-findlibs.py b/test/option/debug-findlibs.py index 4827ab0..b18841b 100644 --- a/test/option/debug-findlibs.py +++ b/test/option/debug-findlibs.py @@ -36,8 +36,9 @@ test.subdir('sub1', 'sub2') test.write('cat.py', """\ import sys -ofp = open(sys.argv[1], "w") -for ifp in map(open, sys.argv[2:]): +ofp = open(sys.argv[1], 'wb') +for f in sys.argv[2:]: + ifp = open(f, 'rb') ofp.write(ifp.read()) ofp.close() """) |