diff options
author | William Blevins <wblevins001@gmail.com> | 2016-09-21 16:57:57 (GMT) |
---|---|---|
committer | William Blevins <wblevins001@gmail.com> | 2016-09-21 16:57:57 (GMT) |
commit | f5035c6a61ad10f440a22c14ce22bbb1d6796f62 (patch) | |
tree | 804b1383be0b30f3118d5df81db4315bcea1d32e /test/CFILESUFFIX.py | |
parent | 5f4aa5312e2d37a271233d864573772ae2b512fe (diff) | |
download | SCons-f5035c6a61ad10f440a22c14ce22bbb1d6796f62.zip SCons-f5035c6a61ad10f440a22c14ce22bbb1d6796f62.tar.gz SCons-f5035c6a61ad10f440a22c14ce22bbb1d6796f62.tar.bz2 |
More test fixes.
Diffstat (limited to 'test/CFILESUFFIX.py')
-rw-r--r-- | test/CFILESUFFIX.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CFILESUFFIX.py b/test/CFILESUFFIX.py index 1a81240..0a3a81a 100644 --- a/test/CFILESUFFIX.py +++ b/test/CFILESUFFIX.py @@ -42,7 +42,7 @@ import sys cmd_opts, args = getopt.getopt(sys.argv[1:], 't', []) for a in args: contents = open(a, 'rb').read() - sys.stdout.write(contents.replace('LEX', 'mylex.py')) + sys.stdout.write((contents.replace(b'LEX', b'mylex.py')).decode()) sys.exit(0) """) |