Ignore:
Timestamp:
Mar 19, 2014, 11:31:01 PM (11 years ago)
Author:
dmik
Message:

python: Merge vendor 2.7.6 to trunk.

Location:
python/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • python/trunk

  • python/trunk/Lib/distutils/msvccompiler.py

    r2 r391  
    99#   finding DevStudio (through the registry)
    1010
    11 # This module should be kept compatible with Python 2.1.
    12 
    13 __revision__ = "$Id: msvccompiler.py 62197 2008-04-07 01:53:39Z mark.hammond $"
    14 
    15 import sys, os, string
    16 from distutils.errors import \
    17      DistutilsExecError, DistutilsPlatformError, \
    18      CompileError, LibError, LinkError
    19 from distutils.ccompiler import \
    20      CCompiler, gen_preprocess_options, gen_lib_options
     11__revision__ = "$Id$"
     12
     13import sys
     14import os
     15import string
     16
     17from distutils.errors import (DistutilsExecError, DistutilsPlatformError,
     18                              CompileError, LibError, LinkError)
     19from distutils.ccompiler import CCompiler, gen_lib_options
    2120from distutils import log
    2221
     
    130129            else:
    131130                self.set_macro("FrameworkSDKDir", net, "sdkinstallroot")
    132         except KeyError, exc: #
     131        except KeyError:
    133132            raise DistutilsPlatformError, \
    134133                  ("""Python was built with Visual Studio 2003;
Note: See TracChangeset for help on using the changeset viewer.