summaryrefslogtreecommitdiffstats
path: root/test/explain
diff options
context:
space:
mode:
authorCraig Rodrigues <rodrigc@FreeBSD.org>2017-03-12 23:21:07 (GMT)
committerCraig Rodrigues <rodrigc@FreeBSD.org>2017-03-12 23:21:07 (GMT)
commitd6823296e39adc6f147ae64f9be6ce64b8bb4a3e (patch)
tree61f648bdc234084da9d784ce206edf332f979e4d /test/explain
parentf5f057cd5399ca96ef521b16bd53e5b43daaaada (diff)
downloadSCons-d6823296e39adc6f147ae64f9be6ce64b8bb4a3e.zip
SCons-d6823296e39adc6f147ae64f9be6ce64b8bb4a3e.tar.gz
SCons-d6823296e39adc6f147ae64f9be6ce64b8bb4a3e.tar.bz2
Fix some bytes/str issues to fix py2/3.
Diffstat (limited to 'test/explain')
-rw-r--r--test/explain/get_csig.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/explain/get_csig.py b/test/explain/get_csig.py
index d35a315..8a0266a 100644
--- a/test/explain/get_csig.py
+++ b/test/explain/get_csig.py
@@ -43,7 +43,7 @@ env = Environment()
def action( source, target, env ):
target[0].get_csig()
- f = open( str(target[0]), 'w' )
+ f = open( str(target[0]), 'wb' )
for s in source:
f.write( s.get_contents() )
f.close()