diff options
author | Greg Noel <GregNoel@tigris.org> | 2010-03-31 06:40:58 (GMT) |
---|---|---|
committer | Greg Noel <GregNoel@tigris.org> | 2010-03-31 06:40:58 (GMT) |
commit | a55d21f508fdccb08056005bbfe93735e6a0bd96 (patch) | |
tree | 999f9e0145bf45a64d2ed7518e0fd352db59d4dd /src/engine | |
parent | da4f1ed8c7500eff8c5bc79c39d7acd1c69eb0d6 (diff) | |
download | SCons-a55d21f508fdccb08056005bbfe93735e6a0bd96.zip SCons-a55d21f508fdccb08056005bbfe93735e6a0bd96.tar.gz SCons-a55d21f508fdccb08056005bbfe93735e6a0bd96.tar.bz2 |
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.
Diffstat (limited to 'src/engine')
-rw-r--r-- | src/engine/SCons/Tool/MSCommon/vc.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/engine/SCons/Tool/MSCommon/vc.py b/src/engine/SCons/Tool/MSCommon/vc.py index 55171f5..b8aae84 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: |