diff options
author | William Deegan <bill@baddogconsulting.com> | 2016-05-13 20:43:15 -0700 |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2016-05-13 20:43:15 -0700 |
commit | 7e2c4d77185977045289c8c93bef6bd23fb7afa3 (patch) | |
tree | dc20b0e542e3bad64fe8f0d240ea797949c3ae4e /QMTest | |
parent | 58db41640fd81affd354753cbcaf5cdcd4342844 (diff) | |
download | scons-7e2c4d77185977045289c8c93bef6bd23fb7afa3.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
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 8cb6fb96..198f586f 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 |