diff options
author | Steven Knight <knight@baldmt.com> | 2004-11-21 00:41:12 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2004-11-21 00:41:12 (GMT) |
commit | ffc625f8cf332399ba754bf2ebe9e700e5122eac (patch) | |
tree | 9c21395a4d49fd3aba7a22fe8e93b041445b00b3 /test/builder-wrappers.py | |
parent | 376cfbfee0d52e867f2c6b955b6e218d788284ba (diff) | |
download | SCons-ffc625f8cf332399ba754bf2ebe9e700e5122eac.zip SCons-ffc625f8cf332399ba754bf2ebe9e700e5122eac.tar.gz SCons-ffc625f8cf332399ba754bf2ebe9e700e5122eac.tar.bz2 |
Miscellaneous fixes: portability and version fixes, missing , better CXXCOM tests, ATL include directories, intelc Tool import.
Diffstat (limited to 'test/builder-wrappers.py')
-rw-r--r-- | test/builder-wrappers.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/builder-wrappers.py b/test/builder-wrappers.py index dbde302..d463cce 100644 --- a/test/builder-wrappers.py +++ b/test/builder-wrappers.py @@ -37,9 +37,9 @@ test.write('SConstruct', """ import os.path import string def cat(target, source, env): - fp = open(str(target[0]), 'w') + fp = open(str(target[0]), 'wb') for s in map(str, source): - fp.write(open(s).read()) + fp.write(open(s, 'rb').read()) Cat = Builder(action=cat) def Wrapper(env, target, source): if not target: |