diff options
author | William Deegan <bill@baddogconsulting.com> | 2017-05-17 22:53:45 (GMT) |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2017-05-17 22:53:45 (GMT) |
commit | e8a01213ed84509d5c902a2c2a39680ec5da904c (patch) | |
tree | 16d71aab13432f17615b4e2f7c3123e13817c5b5 /QMTest | |
parent | d57bd2834275a27cdc4a526bd281b099ac38577a (diff) | |
download | SCons-e8a01213ed84509d5c902a2c2a39680ec5da904c.zip SCons-e8a01213ed84509d5c902a2c2a39680ec5da904c.tar.gz SCons-e8a01213ed84509d5c902a2c2a39680ec5da904c.tar.bz2 |
PY2/3 mode=r to fix MSVS test
Diffstat (limited to 'QMTest')
-rw-r--r-- | QMTest/TestSConsMSVS.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/QMTest/TestSConsMSVS.py b/QMTest/TestSConsMSVS.py index fcca470..19ce747 100644 --- a/QMTest/TestSConsMSVS.py +++ b/QMTest/TestSConsMSVS.py @@ -1056,7 +1056,7 @@ print("self._msvs_versions =", str(SCons.Tool.MSCommon.query_versions())) enginepath = repr(os.path.join(self._cwd, '..', 'engine')) replace = 'sys.path = [ %s, join(sys' % enginepath - contents = self.read(fname) + contents = self.read(fname, mode='r') contents = contents.replace(orig, replace) self.write(fname, contents) |