diff options
author | William Deegan <bill@baddogconsulting.com> | 2018-11-02 01:33:15 (GMT) |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2018-11-02 01:33:15 (GMT) |
commit | 50bdeb4f4c3bf148c242b93f1a517a11758a2d9c (patch) | |
tree | f525c3f643d9a5c84bbe3e9b439189eebdfa7351 /test/fixture | |
parent | 608ee5c478fa1cd97735e37e33129180e4f1115b (diff) | |
download | SCons-50bdeb4f4c3bf148c242b93f1a517a11758a2d9c.zip SCons-50bdeb4f4c3bf148c242b93f1a517a11758a2d9c.tar.gz SCons-50bdeb4f4c3bf148c242b93f1a517a11758a2d9c.tar.bz2 |
Fix to write string as bytes
Diffstat (limited to 'test/fixture')
-rw-r--r-- | test/fixture/wrapper.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/fixture/wrapper.py b/test/fixture/wrapper.py index 55e133b..f02ea03 100644 --- a/test/fixture/wrapper.py +++ b/test/fixture/wrapper.py @@ -2,5 +2,5 @@ import os import sys if '--version' not in sys.argv and '-dumpversion' not in sys.argv: path = os.path.join(os.path.dirname(os.path.relpath(__file__)), 'wrapper.out') - open(path, 'wb').write("wrapper.py\n") + open(path, 'wb').write(b"wrapper.py\n") os.system(" ".join(sys.argv[1:])) |