diff options
author | Tim Peters <tim.peters@gmail.com> | 2004-11-28 01:10:01 +0000 |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2004-11-28 01:10:01 +0000 |
commit | 5f3a9c9e03b34eeec350b38934349183358b779a (patch) | |
tree | 406e39b01be0f08c154c5fbd1e4bb2654b100e9b /Lib/distutils/msvccompiler.py | |
parent | 751e9710b0a807c333b6224948d0ec2b0f1144a5 (diff) | |
download | cpython-5f3a9c9e03b34eeec350b38934349183358b779a.tar.gz |
Whitespace normalization.
Diffstat (limited to 'Lib/distutils/msvccompiler.py')
-rw-r--r-- | Lib/distutils/msvccompiler.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Lib/distutils/msvccompiler.py b/Lib/distutils/msvccompiler.py index ccb62a8813..89a75b3486 100644 --- a/Lib/distutils/msvccompiler.py +++ b/Lib/distutils/msvccompiler.py @@ -124,12 +124,12 @@ class MacroExpander: self.set_macro("VSInstallDir", vsbase + r"\Setup\VS", "productdir") net = r"Software\Microsoft\.NETFramework" self.set_macro("FrameworkDir", net, "installroot") - try: - if version > 7.0: - self.set_macro("FrameworkSDKDir", net, "sdkinstallrootv1.1") - else: - self.set_macro("FrameworkSDKDir", net, "sdkinstallroot") - except KeyError, exc: # + try: + if version > 7.0: + self.set_macro("FrameworkSDKDir", net, "sdkinstallrootv1.1") + else: + self.set_macro("FrameworkSDKDir", net, "sdkinstallroot") + except KeyError, exc: # raise DistutilsPlatformError, \ ("The .NET Framework SDK needs to be installed before " "building extensions for Python.") |