diff options
author | William Deegan <bill@baddogconsulting.com> | 2017-03-19 21:53:28 (GMT) |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2017-03-19 21:53:28 (GMT) |
commit | 81ced582305f177bb43f9f9474100cb0688d51ca (patch) | |
tree | afc1a70a035127119001d86b83a2e8a6198f5e80 | |
parent | 786d07b7b643cf110f256d5de3afa450c0d175d4 (diff) | |
download | SCons-81ced582305f177bb43f9f9474100cb0688d51ca.zip SCons-81ced582305f177bb43f9f9474100cb0688d51ca.tar.gz SCons-81ced582305f177bb43f9f9474100cb0688d51ca.tar.bz2 |
py2/3 fix. Add b to w open. Needed because we're dumping node.get_contents(), which is always bytes
-rw-r--r-- | test/explain/alias-order.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/explain/alias-order.py b/test/explain/alias-order.py index 3eed275..611c512 100644 --- a/test/explain/alias-order.py +++ b/test/explain/alias-order.py @@ -41,7 +41,7 @@ test.write(['src', 'SConstruct'],""" env = Environment() def action( source, target, env ): - f = open( str(target[0]), 'w' ) + f = open( str(target[0]), 'wb' ) f.write( source[0].get_contents()) f.close() |