From bf02c55045adbfa38d105b863f1abc2af14763e7 Mon Sep 17 00:00:00 2001 From: garyo Date: Thu, 26 Nov 2009 22:09:23 +0000 Subject: [PATCH] Fix wrong var name in r4486, thanks Greg! git-svn-id: http://scons.tigris.org/svn/scons/trunk@4487 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- src/engine/SCons/Tool/MSCommon/vc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/engine/SCons/Tool/MSCommon/vc.py b/src/engine/SCons/Tool/MSCommon/vc.py index dfedbdee..4f2cae01 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)) -- 2.26.2