From 4ebf54bf58ea17b50cae986c501bfa04338cba84 Mon Sep 17 00:00:00 2001 From: William Deegan Date: Sun, 12 Mar 2017 19:53:42 -0400 Subject: get rid of rb/wb --- test/HeaderGen.py | 6 +++--- 1 file 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') -- cgit v0.12