test.write('SConstruct', """
def build(env, target, source):
- file = open(str(target[0]), "wt")
+ file = open(str(target[0]), 'wb')
for s in source:
- file.write(open(str(s), 'rt').read())
+ file.write(open(str(s), 'rb').read())
B = Builder(name='B', action=build, multi=1)
env = Environment(BUILDERS = [B])
test.write('SConstruct', """
def build(env, target, source):
- file = open(str(target[0]), "wt")
+ file = open(str(target[0]), 'wb')
for s in source:
- file.write(open(str(s), 'rt').read())
+ file.write(open(str(s), 'rb').read())
B = Builder(name='B', action=build, multi=0)
env = Environment(BUILDERS = [B])
test.write('SConstruct', """
def build(env, target, source):
- file = open(str(target[0]), "wt")
+ file = open(str(target[0]), 'wb')
for s in source:
- file.write(open(str(s), 'rt').read())
+ file.write(open(str(s), 'rb').read())
B = Builder(name='B', action=build, multi=1)
env = Environment(BUILDERS = [B])
test.write('SConstruct', """
def build(env, target, source):
- file = open(str(target[0]), "wt")
+ file = open(str(target[0]), 'wb')
for s in source:
- file.write(open(str(s), 'rt').read())
+ file.write(open(str(s), 'rb').read())
B = Builder(name='B', action=build, multi=1)
env = Environment(BUILDERS = [B])
test.write('SConstruct', """
def build(env, target, source):
- file = open(str(target[0]), "wt")
+ file = open(str(target[0]), 'wb')
for s in source:
- file.write(open(str(s), 'rt').read())
+ file.write(open(str(s), 'rb').read())
B = Builder(name='B', action=build, multi=0)
env = Environment(BUILDERS = [B])
test.write('SConstruct', """
def build(env, target, source):
- file = open(str(target[0]), "wt")
+ file = open(str(target[0]), 'wb')
for s in source:
- file.write(open(str(s), 'rt').read())
+ file.write(open(str(s), 'rb').read())
B = Builder(name='B', action=build, multi=1)
C = Builder(name='C', action=build, multi=1)
test.write('SConstruct', """
def build(env, target, source):
for t in target:
- file = open(str(t), "wt")
+ file = open(str(t), 'wb')
for s in source:
- file.write(open(str(s), 'rt').read())
+ file.write(open(str(s), 'rb').read())
B = Builder(name='B', action=build, multi=1)
env = Environment(BUILDERS = [B])
test.write('SConstruct', """
def build(env, target, source):
for t in target:
- file = open(str(target[0]), "wt")
+ file = open(str(target[0]), 'wb')
for s in source:
- file.write(open(str(s), 'rt').read())
+ file.write(open(str(s), 'rb').read())
B = Builder(name='B', action=build, multi=1)
env = Environment(BUILDERS = [B])
test.write('SConstruct', """
def build(env, target, source):
for t in target:
- file = open(str(target[0]), "wt")
+ file = open(str(target[0]), 'wb')
for s in source:
- file.write(open(str(s), 'rt').read())
+ file.write(open(str(s), 'rb').read())
B = Builder(name='B', action=build, multi=1)
env = Environment(BUILDERS = [B])
test.write('SConstruct', """
def build(env, target, source):
for t in target:
- file = open(str(target[0]), "wt")
+ file = open(str(target[0]), 'wb')
for s in source:
- file.write(open(str(s), 'rt').read())
+ file.write(open(str(s), 'rb').read())
B = Builder(name='B', action=build, multi=1)
env = Environment(BUILDERS = [B])