summaryrefslogtreecommitdiffstats
path: root/test/builder-wrappers.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2004-11-21 00:41:12 (GMT)
committerSteven Knight <knight@baldmt.com>2004-11-21 00:41:12 (GMT)
commitffc625f8cf332399ba754bf2ebe9e700e5122eac (patch)
tree9c21395a4d49fd3aba7a22fe8e93b041445b00b3 /test/builder-wrappers.py
parent376cfbfee0d52e867f2c6b955b6e218d788284ba (diff)
downloadSCons-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.py4
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: