From d6b47e3d00604e7f515bdd92a681972e567bec7c Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Fri, 26 Sep 2014 11:30:01 -0400 Subject: Resave with excess whitespace removed --- setuptools/extension.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/setuptools/extension.py b/setuptools/extension.py index 41a817b7..c695976a 100644 --- a/setuptools/extension.py +++ b/setuptools/extension.py @@ -21,7 +21,7 @@ def _patch_msvc9compiler_find_vcvarsall(): if find_vcvarsall and find_vcvarsall.__module__.startswith('setuptools.'): # Already patched return - + def _find_vcvarsall(version): Reg = distutils.msvc9compiler.Reg try: @@ -33,15 +33,15 @@ def _patch_msvc9compiler_find_vcvarsall(): productdir = Reg.get_value(VC_BASE % ('Wow6432Node\\', version), "installdir") except KeyError: productdir = None - + if productdir: import os vcvarsall = os.path.join(productdir, "vcvarsall.bat") if os.path.isfile(vcvarsall): return vcvarsall - + return find_vcvarsall(version) - + def _query_vcvarsall(version, *args, **kwargs): try: return query_vcvarsall(version, *args, **kwargs) -- cgit v1.2.1