From ed9ebca5b0c012c6b44adad4efa475f1cccd460d Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Sat, 10 Mar 2012 19:03:23 -0800 Subject: Indent with spaces --HG-- branch : distribute extra : rebase_source : 799441b639f6f9c55fe25745e793ac29419f0293 --- setuptools/extension.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'setuptools') diff --git a/setuptools/extension.py b/setuptools/extension.py index 980ee0a7..b5a0702b 100644 --- a/setuptools/extension.py +++ b/setuptools/extension.py @@ -5,12 +5,12 @@ _Extension = _get_unpatched(_Extension) # Prefer Cython to Pyrex pyrex_impls = 'Cython.Distutils.build_ext', 'Pyrex.Distutils.build_ext' for pyrex_impl in pyrex_impls: - try: - # from (pyrex_impl) import build_ext - build_ext = __import__(pyrex_impl, fromlist=['build_ext']).build_ext - break - except: - pass + try: + # from (pyrex_impl) import build_ext + build_ext = __import__(pyrex_impl, fromlist=['build_ext']).build_ext + break + except: + pass have_pyrex = 'build_ext' in globals() @@ -18,7 +18,7 @@ class Extension(_Extension): """Extension that uses '.c' files in place of '.pyx' files""" if not have_pyrex: - # convert .pyx extensions to .c + # convert .pyx extensions to .c def __init__(self,*args,**kw): _Extension.__init__(self,*args,**kw) sources = [] -- cgit v1.2.3