diff options
author | Joseph Brill <48932340+jcbrill@users.noreply.github.com> | 2024-10-19 17:40:41 (GMT) |
---|---|---|
committer | Joseph Brill <48932340+jcbrill@users.noreply.github.com> | 2024-10-19 17:40:41 (GMT) |
commit | 705f579da7245e0fbb8a8640bebe909bd58d8f9c (patch) | |
tree | 9a1a2977cfe784e5a19407b2294f92c804833339 /SCons | |
parent | f3fdec1ae8fce182bfbf8b3cafe580a90e1dfdf3 (diff) | |
download | SCons-705f579da7245e0fbb8a8640bebe909bd58d8f9c.zip SCons-705f579da7245e0fbb8a8640bebe909bd58d8f9c.tar.gz SCons-705f579da7245e0fbb8a8640bebe909bd58d8f9c.tar.bz2 |
Bug fix in msvs.py: the value for the construction value 'nokeep' was inadvertently querying the value of env['variant'].
Diffstat (limited to 'SCons')
-rw-r--r-- | SCons/Tool/msvs.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/SCons/Tool/msvs.py b/SCons/Tool/msvs.py index 6d8b45e..557590d 100644 --- a/SCons/Tool/msvs.py +++ b/SCons/Tool/msvs.py @@ -590,7 +590,7 @@ class _DSPGenerator: self.configs = {} self.nokeep = 0 - if 'nokeep' in env and env['variant'] != 0: + if 'nokeep' in env and env['nokeep'] != 0: self.nokeep = 1 if self.nokeep == 0 and os.path.exists(self.dspabs): @@ -1547,7 +1547,7 @@ class _GenerateV7DSW(_DSWGenerator): self.configs = {} self.nokeep = 0 - if 'nokeep' in env and env['variant'] != 0: + if 'nokeep' in env and env['nokeep'] != 0: self.nokeep = 1 if self.nokeep == 0 and os.path.exists(self.dswfile): |