summaryrefslogtreecommitdiffstats
path: root/test/builder-wrappers.py
diff options
context:
space:
mode:
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: