From e8a01213ed84509d5c902a2c2a39680ec5da904c Mon Sep 17 00:00:00 2001 From: William Deegan Date: Wed, 17 May 2017 15:53:45 -0700 Subject: PY2/3 mode=r to fix MSVS test --- QMTest/TestSConsMSVS.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v0.12