diff options
author | William Deegan <bill@baddogconsulting.com> | 2017-03-12 23:53:42 (GMT) |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2017-03-12 23:53:42 (GMT) |
commit | 4ebf54bf58ea17b50cae986c501bfa04338cba84 (patch) | |
tree | eab2fec4396c5abd64294bf4923329a46dec6040 /test | |
parent | 2a815ecf9af4b2e05bbbd059f627cfa9e43a207d (diff) | |
download | SCons-4ebf54bf58ea17b50cae986c501bfa04338cba84.zip SCons-4ebf54bf58ea17b50cae986c501bfa04338cba84.tar.gz SCons-4ebf54bf58ea17b50cae986c501bfa04338cba84.tar.bz2 |
get rid of rb/wb
Diffstat (limited to 'test')
-rw-r--r-- | test/HeaderGen.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/HeaderGen.py b/test/HeaderGen.py index 5a7fdbe..2763b34 100644 --- a/test/HeaderGen.py +++ b/test/HeaderGen.py @@ -35,7 +35,7 @@ test = TestSCons.TestSCons() test.write('SConstruct', """\ def writeFile(target, contents): - file = open(str(target[0]), 'wb') + file = open(str(target[0]), 'w') file.write(contents) file.close() return 0 @@ -60,8 +60,8 @@ test.write('SConstruct', """\ env = Environment() def gen_a_h(target, source, env): - t = open(str(target[0]), 'wb') - s = open(str(source[0]), 'rb') + t = open(str(target[0]), 'w') + s = open(str(source[0]), 'r') s.readline() t.write(s.readline()[:-1] + ';\\n') |