diff options
author | William Deegan <bill@baddogconsulting.com> | 2017-03-11 04:06:36 (GMT) |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2017-03-11 04:06:36 (GMT) |
commit | 3ae12152167ab6df56a84bf2212ec47052b12472 (patch) | |
tree | 1ebcc92965cd3bb1c400ce0e22e3c1fc6b941cd2 /test/CXX | |
parent | 0850cf4f87576efcd31570fd5dcd0cc2b2a23e63 (diff) | |
download | SCons-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.py | 2 |
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) """) |