summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2016-05-13 20:43:15 -0700
committerWilliam Deegan <bill@baddogconsulting.com>2016-05-13 20:43:15 -0700
commit547a704c080c97304425fcde1eb2381d9f395352 (patch)
treedc20b0e542e3bad64fe8f0d240ea797949c3ae4e
parent9dc0f8feb825d50da88009c84fc274fb489d3a19 (diff)
downloadscons-git-547a704c080c97304425fcde1eb2381d9f395352.tar.gz
fix default open mode for test.write() to be wb.. it was changed to just w when six was the plan. it causes many tests to fail on win32
-rw-r--r--QMTest/TestCmd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/QMTest/TestCmd.py b/QMTest/TestCmd.py
index 8cb6fb96a..198f586f7 100644
--- a/QMTest/TestCmd.py
+++ b/QMTest/TestCmd.py
@@ -1719,7 +1719,7 @@ class TestCmd(object):
do_chmod(os.path.join(dirpath, name))
do_chmod(top)
- def write(self, file, content, mode = 'w'):
+ def write(self, file, content, mode = 'wb'):
"""Writes the specified content text (second argument) to the
specified file name (first argument). The file name may be
a list, in which case the elements are concatenated with the