From 072bfb6525a35131a7a2a36f4e320dd721c14add Mon Sep 17 00:00:00 2001 From: Joseph Brill <48932340+jcbrill@users.noreply.github.com> Date: Mon, 15 Jun 2020 08:33:47 -0400 Subject: reset_installed_vcs is setting a local variable named __INSTALLED_VCS_RUN rather than the changing the global variable. Added global definition. --- SCons/Tool/MSCommon/vc.py | 1 + 1 file changed, 1 insertion(+) diff --git a/SCons/Tool/MSCommon/vc.py b/SCons/Tool/MSCommon/vc.py index 2fe4995..4ac87d1 100644 --- a/SCons/Tool/MSCommon/vc.py +++ b/SCons/Tool/MSCommon/vc.py @@ -674,6 +674,7 @@ def get_installed_vcs(env=None): def reset_installed_vcs(): """Make it try again to find VC. This is just for the tests.""" + global __INSTALLED_VCS_RUN __INSTALLED_VCS_RUN = None # Running these batch files isn't cheap: most of the time spent in -- cgit v0.12