diff options
author | William Deegan <bill@baddogconsulting.com> | 2017-10-16 15:14:20 (GMT) |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2017-10-16 15:14:20 (GMT) |
commit | cfb94791980e931b195ec765a926a22c9da6c0c9 (patch) | |
tree | 6c7d1c1b9e02ba7d84391d6e944158ce19a86129 /QMTest | |
parent | 351c325f5ee49b322b625812142a8c042ffe723a (diff) | |
download | SCons-cfb94791980e931b195ec765a926a22c9da6c0c9.zip SCons-cfb94791980e931b195ec765a926a22c9da6c0c9.tar.gz SCons-cfb94791980e931b195ec765a926a22c9da6c0c9.tar.bz2 |
Fix issue where test framework was printing a tuple under python 2.7 (since we removed need for print function under 2.7. This was breaking all the logic used by test framework to get the list of installed MSVS's. Switched to proper print format string
Diffstat (limited to 'QMTest')
-rw-r--r-- | QMTest/TestSConsMSVS.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/QMTest/TestSConsMSVS.py b/QMTest/TestSConsMSVS.py index 19ce747..1e879d9 100644 --- a/QMTest/TestSConsMSVS.py +++ b/QMTest/TestSConsMSVS.py @@ -1039,8 +1039,8 @@ class TestSConsMSVS(TestSCons): input = """\ import SCons import SCons.Tool.MSCommon -print("self.scons_version =", repr(SCons.__%s__)) -print("self._msvs_versions =", str(SCons.Tool.MSCommon.query_versions())) +print("self.scons_version =%%s"%%repr(SCons.__%s__)) +print("self._msvs_versions =%%s"%%str(SCons.Tool.MSCommon.query_versions())) """ % 'version' self.run(arguments = '-n -q -Q -f -', stdin = input) |