summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGary Oberbrunner <garyo@oberbrunner.com>2009-11-26 22:09:23 (GMT)
committerGary Oberbrunner <garyo@oberbrunner.com>2009-11-26 22:09:23 (GMT)
commite81a9eead367253df78d02c411e075c9484f855c (patch)
tree893d9640addb24e0e09cf17d2c75f6defe25210b /src
parenta9d72478d54104b979f5e92ca0fab0ff07b37fe1 (diff)
downloadSCons-e81a9eead367253df78d02c411e075c9484f855c.zip
SCons-e81a9eead367253df78d02c411e075c9484f855c.tar.gz
SCons-e81a9eead367253df78d02c411e075c9484f855c.tar.bz2
Fix wrong var name in r4486, thanks Greg!
Diffstat (limited to 'src')
-rw-r--r--src/engine/SCons/Tool/MSCommon/vc.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/SCons/Tool/MSCommon/vc.py b/src/engine/SCons/Tool/MSCommon/vc.py
index dfedbde..4f2cae0 100644
--- a/src/engine/SCons/Tool/MSCommon/vc.py
+++ b/src/engine/SCons/Tool/MSCommon/vc.py
@@ -331,8 +331,8 @@ def msvc_setup_env(env):
host_platform, target_platform = get_host_target(env)
host_target = (host_platform, target_platform)
if not is_host_target_supported(host_target, version):
- msg = "host, target = %s not supported for MSVC version %s" % \
- (host_target, version)
+ warn_msg = "host, target = %s not supported for MSVC version %s" % \
+ (host_target, version)
SCons.Warnings.warn(SCons.Warnings.VisualCMissingWarning, warn_msg)
arg = _HOST_TARGET_ARCH_TO_BAT_ARCH[host_target]
debug('use_script 2 %s, args:%s\n' % (repr(script), arg))