diff options
author | Steven Knight <knight@baldmt.com> | 2010-01-14 19:17:03 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2010-01-14 19:17:03 (GMT) |
commit | 358ca1aa92dbd377ad8d9bb9cfd9f4e3097c9893 (patch) | |
tree | 007c392466c32aecbfd14d0a677af58a1967f272 /QMTest | |
parent | a480c27d57d3003fa32e94e638dde763e6b44b52 (diff) | |
download | SCons-358ca1aa92dbd377ad8d9bb9cfd9f4e3097c9893.zip SCons-358ca1aa92dbd377ad8d9bb9cfd9f4e3097c9893.tar.gz SCons-358ca1aa92dbd377ad8d9bb9cfd9f4e3097c9893.tar.bz2 |
Minor code cleanup, including restoring saved SCONSFLAGS correctly.
Diffstat (limited to 'QMTest')
-rw-r--r-- | QMTest/TestSConsMSVS.py | 3 |
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: |