From: gregnoel Date: Wed, 31 Mar 2010 06:40:58 +0000 (+0000) Subject: Revert revision 4742. How hard is it to understand "No bugfixes in 2.0"? X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ff1ce07b82d72928bbd53a73704f50dd20eae802;p=scons.git Revert revision 4742. How hard is it to understand "No bugfixes in 2.0"? This fix should be in 2.0.1, which will mirror the changes in 1.3.1. git-svn-id: http://scons.tigris.org/svn/scons/trunk@4747 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- diff --git a/src/engine/SCons/Tool/MSCommon/vc.py b/src/engine/SCons/Tool/MSCommon/vc.py index 55171f5c..b8aae842 100644 --- a/src/engine/SCons/Tool/MSCommon/vc.py +++ b/src/engine/SCons/Tool/MSCommon/vc.py @@ -138,10 +138,7 @@ _VCVER_TO_PRODUCT_DIR = { } def msvc_version_to_maj_min(msvc_version): - - msvc_ver_numeric = string.join(filter(lambda x: x in string.digits + ".", msvc_version), '') - - t = msvc_version_numeric.split(".") + t = msvc_version.split(".") if not len(t) == 2: raise ValueError("Unrecognized version %s" % msvc_version) try: