diff options
author | William Deegan <bill@baddogconsulting.com> | 2017-02-27 20:41:08 -0800 |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2017-02-27 20:41:08 -0800 |
commit | 9b978171513dfca2638f84dafa028f7ea2595306 (patch) | |
tree | 685facd07db0be294c0866f33d86568885e211ed /test/Batch | |
parent | 2380f54641dad6fec18c8e990054c64c3c05354c (diff) | |
download | scons-9b978171513dfca2638f84dafa028f7ea2595306.tar.gz |
Fix py2/3 byte file issue
Diffstat (limited to 'test/Batch')
-rw-r--r-- | test/Batch/action-changed.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Batch/action-changed.py b/test/Batch/action-changed.py index d0314324..1dc0f088 100644 --- a/test/Batch/action-changed.py +++ b/test/Batch/action-changed.py @@ -47,7 +47,7 @@ for i in range(len(targets)): t = targets[i] s = sources[i] fp = open(t, 'wb') - fp.write('%s\\n') + fp.write(bytearray('%s\\n','utf-8')) fp.write(open(s, 'rb').read()) fp.close() sys.exit(0) |