From bda14f350b0e513c9c387de6a7367d5a89fb09ca Mon Sep 17 00:00:00 2001 From: stevenknight Date: Thu, 26 Nov 2009 19:20:47 +0000 Subject: [PATCH] Python 1.5 fix: no += git-svn-id: http://scons.tigris.org/svn/scons/trunk@4485 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- src/engine/SCons/Tool/MSCommon/vc.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/engine/SCons/Tool/MSCommon/vc.py b/src/engine/SCons/Tool/MSCommon/vc.py index 4673d0fe..4748a333 100644 --- a/src/engine/SCons/Tool/MSCommon/vc.py +++ b/src/engine/SCons/Tool/MSCommon/vc.py @@ -316,9 +316,10 @@ def msvc_setup_env(env): except VisualCException, e: msg = str(e) debug('Caught exception while looking for batch file (%s)' % msg) - warn_msg = "VC version %s not installed - C/C++ compilers most " \ - "likely not set correctly" % version - warn_msg += " \n Install versions are: %s" % cached_get_installed_vcs() + warn_msg = "VC version %s not installed. " + \ + "C/C++ compilers are most likely not set correctly.\n" + \ + " Installed versions are: %s" + warn_msg = warn_msg % (version, cached_get_installed_vcs()) SCons.Warnings.warn(SCons.Warnings.VisualCMissingWarning, warn_msg) return None -- 2.26.2