From: stevenknight Date: Thu, 26 Nov 2009 19:20:47 +0000 (+0000) Subject: Python 1.5 fix: no += X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bda14f350b0e513c9c387de6a7367d5a89fb09ca;p=scons.git Python 1.5 fix: no += git-svn-id: http://scons.tigris.org/svn/scons/trunk@4485 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- 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