diff options
author | Joseph Brill <48932340+jcbrill@users.noreply.github.com> | 2022-06-16 21:02:17 (GMT) |
---|---|---|
committer | Joseph Brill <48932340+jcbrill@users.noreply.github.com> | 2022-06-16 21:02:17 (GMT) |
commit | 736c7e5a7406dd2dcb5b988a330701f8eed70119 (patch) | |
tree | a130a333addc066f79f534d79a273b325b024885 /SCons/Tool | |
parent | 126a34e27d9aa2837ad271b31162ffb02ec2290a (diff) | |
download | SCons-736c7e5a7406dd2dcb5b988a330701f8eed70119.zip SCons-736c7e5a7406dd2dcb5b988a330701f8eed70119.tar.gz SCons-736c7e5a7406dd2dcb5b988a330701f8eed70119.tar.bz2 |
Rename Manager to Dispatcher
Diffstat (limited to 'SCons/Tool')
-rw-r--r-- | SCons/Tool/MSCommon/vc.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/SCons/Tool/MSCommon/vc.py b/SCons/Tool/MSCommon/vc.py index 26a2fd6..ec508a8 100644 --- a/SCons/Tool/MSCommon/vc.py +++ b/SCons/Tool/MSCommon/vc.py @@ -102,7 +102,7 @@ class BatchFileExecutionWarning(SCons.Warnings.WarningOnByDefault): pass -class _Manager: +class _Dispatcher: classrefs = [] @@ -1250,7 +1250,7 @@ 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 - _Manager.reset() + _Dispatcher.reset() # Running these batch files isn't cheap: most of the time spent in # msvs.generate() is due to vcvars*.bat. In a build that uses "tools='msvs'" @@ -1622,7 +1622,7 @@ class _MSVCSetupEnvDefault: # return tool list in order presented return tools_found_list -_Manager.register(_MSVCSetupEnvDefault) +_Dispatcher.register(_MSVCSetupEnvDefault) def get_default_version(env): msvc_version = env.get('MSVC_VERSION') @@ -2234,7 +2234,7 @@ class _WindowsSDK: debug('verify %s', cls.__name__) cls._verify_sdk_dispatch_map() -_Manager.register(_WindowsSDK) +_Dispatcher.register(_WindowsSDK) def get_sdk_versions(MSVC_VERSION=None, MSVC_UWP_APP=False): debug('MSVC_VERSION=%s, MSVC_UWP_APP=%s', repr(MSVC_VERSION), repr(MSVC_UWP_APP)) @@ -2951,7 +2951,7 @@ class _ScriptArguments: debug('verify %s', cls.__name__) cls._verify_re_sdk_dispatch_map() -_Manager.register(_ScriptArguments) +_Dispatcher.register(_ScriptArguments) # internal consistency check -_Manager.verify() +_Dispatcher.verify() |