summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--QMTest/TestSConsMSVS.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/QMTest/TestSConsMSVS.py b/QMTest/TestSConsMSVS.py
index 5fea14a..0f6fc6f 100644
--- a/QMTest/TestSConsMSVS.py
+++ b/QMTest/TestSConsMSVS.py
@@ -658,9 +658,8 @@ print "self._msvs_versions =", str(SCons.Tool.MSCommon.query_versions())
os.environ['SCONSFLAGS'] = string.join(sconsflags)
try:
result = apply(TestSCons.run, (self,)+args, kw)
- pass
finally:
- sconsflags = save_sconsflags
+ os.environ['SCONSFLAGS'] = save_sconsflags or ''
return result
# Local Variables: