summaryrefslogtreecommitdiff
path: root/test/Batch
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2017-02-27 20:41:08 -0800
committerWilliam Deegan <bill@baddogconsulting.com>2017-02-27 20:41:08 -0800
commit9b978171513dfca2638f84dafa028f7ea2595306 (patch)
tree685facd07db0be294c0866f33d86568885e211ed /test/Batch
parent2380f54641dad6fec18c8e990054c64c3c05354c (diff)
downloadscons-9b978171513dfca2638f84dafa028f7ea2595306.tar.gz
Fix py2/3 byte file issue
Diffstat (limited to 'test/Batch')
-rw-r--r--test/Batch/action-changed.py2
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)