diff options
author | William Deegan <bill@baddogconsulting.com> | 2016-05-14 03:43:15 (GMT) |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2016-05-14 03:43:15 (GMT) |
commit | 547a704c080c97304425fcde1eb2381d9f395352 (patch) | |
tree | dc20b0e542e3bad64fe8f0d240ea797949c3ae4e /QMTest | |
parent | 9dc0f8feb825d50da88009c84fc274fb489d3a19 (diff) | |
download | SCons-547a704c080c97304425fcde1eb2381d9f395352.zip SCons-547a704c080c97304425fcde1eb2381d9f395352.tar.gz SCons-547a704c080c97304425fcde1eb2381d9f395352.tar.bz2 |
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
Diffstat (limited to 'QMTest')
-rw-r--r-- | QMTest/TestCmd.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/QMTest/TestCmd.py b/QMTest/TestCmd.py index 8cb6fb9..198f586 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 |