summaryrefslogtreecommitdiffstats
path: root/SCons/Tool/MSCommon/MSVC/Policy.py
diff options
context:
space:
mode:
authorJoseph Brill <48932340+jcbrill@users.noreply.github.com>2022-07-05 04:38:14 (GMT)
committerJoseph Brill <48932340+jcbrill@users.noreply.github.com>2022-07-05 04:42:49 (GMT)
commit392af455bd2a07b195296cd7f159ed052e4319b5 (patch)
treee18316e9ee0ccefc8c57b85b449d645d99069880 /SCons/Tool/MSCommon/MSVC/Policy.py
parent8cf60974f5b08e80004b843189747f5d0d226d42 (diff)
downloadSCons-392af455bd2a07b195296cd7f159ed052e4319b5.zip
SCons-392af455bd2a07b195296cd7f159ed052e4319b5.tar.gz
SCons-392af455bd2a07b195296cd7f159ed052e4319b5.tar.bz2
Revert from MSVCNotFoundWarning back to VisualCMissingWarning (test failures).
Diffstat (limited to 'SCons/Tool/MSCommon/MSVC/Policy.py')
-rw-r--r--SCons/Tool/MSCommon/MSVC/Policy.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/SCons/Tool/MSCommon/MSVC/Policy.py b/SCons/Tool/MSCommon/MSVC/Policy.py
index 870c73c..95643b2 100644
--- a/SCons/Tool/MSCommon/MSVC/Policy.py
+++ b/SCons/Tool/MSCommon/MSVC/Policy.py
@@ -50,7 +50,6 @@ from .Exceptions import (
)
from .Warnings import (
- MSVCVersionNotFoundWarning,
MSVCScriptExecutionWarning,
)
@@ -213,7 +212,7 @@ def msvc_notfound_handler(env, msg):
elif notfound_policy_def.value:
raise MSVCVersionNotFound(msg)
else:
- SCons.Warnings.warn(MSVCVersionNotFoundWarning, msg)
+ SCons.Warnings.warn(SCons.Warnings.VisualCMissingWarning, msg)
def _msvc_scripterror_policy_lookup(symbol):