summaryrefslogtreecommitdiffstats
path: root/test/CXX
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2017-03-11 04:06:36 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2017-03-11 04:06:36 (GMT)
commit3ae12152167ab6df56a84bf2212ec47052b12472 (patch)
tree1ebcc92965cd3bb1c400ce0e22e3c1fc6b941cd2 /test/CXX
parent0850cf4f87576efcd31570fd5dcd0cc2b2a23e63 (diff)
downloadSCons-3ae12152167ab6df56a84bf2212ec47052b12472.zip
SCons-3ae12152167ab6df56a84bf2212ec47052b12472.tar.gz
SCons-3ae12152167ab6df56a84bf2212ec47052b12472.tar.bz2
remove rb/wb from file opens, not needed py2/3
Diffstat (limited to 'test/CXX')
-rw-r--r--test/CXX/CXXFILESUFFIX.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CXX/CXXFILESUFFIX.py b/test/CXX/CXXFILESUFFIX.py
index 8439aef..9442408 100644
--- a/test/CXX/CXXFILESUFFIX.py
+++ b/test/CXX/CXXFILESUFFIX.py
@@ -37,7 +37,7 @@ import getopt
import sys
cmd_opts, args = getopt.getopt(sys.argv[1:], 't', [])
for a in args:
- contents = open(a, 'rb').read()
+ contents = open(a, 'r').read()
sys.stdout.write(contents.replace('LEX', 'mylex.py'))
sys.exit(0)
""")