summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2004-11-28 01:10:01 (GMT)
committerTim Peters <tim.peters@gmail.com>2004-11-28 01:10:01 (GMT)
commit26be2067e8dae5f9ec0a59c489322f2d598f32bb (patch)
treec3da21431fd5513e448ac3dc36825db447bf2425
parent2e8c1f189a497179b7fd7bd5dad61c3189167849 (diff)
downloadcpython-26be2067e8dae5f9ec0a59c489322f2d598f32bb.zip
cpython-26be2067e8dae5f9ec0a59c489322f2d598f32bb.tar.gz
cpython-26be2067e8dae5f9ec0a59c489322f2d598f32bb.tar.bz2
Whitespace normalization.
-rw-r--r--Lib/distutils/msvccompiler.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/Lib/distutils/msvccompiler.py b/Lib/distutils/msvccompiler.py
index ccb62a8..89a75b3 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.")