summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorDavid Cournapeau <cournape@gmail.com>2009-12-03 16:02:23 +0000
committerDavid Cournapeau <cournape@gmail.com>2009-12-03 16:02:23 +0000
commit8a0ae9f4540d8644e66668a6198faa3a6a8577a5 (patch)
tree607104174a036795a99e68dc538b1991f5193f6a /numpy
parentb60735c7b3ca67314d3dd01137670a0c2d7f1300 (diff)
downloadnumpy-8a0ae9f4540d8644e66668a6198faa3a6a8577a5.tar.gz
BUG: fix mixed tab/space indentation.
Diffstat (limited to 'numpy')
-rw-r--r--numpy/distutils/fcompiler/gnu.py20
1 files changed, 10 insertions, 10 deletions
diff --git a/numpy/distutils/fcompiler/gnu.py b/numpy/distutils/fcompiler/gnu.py
index 5ad601d2d..e0a4f6186 100644
--- a/numpy/distutils/fcompiler/gnu.py
+++ b/numpy/distutils/fcompiler/gnu.py
@@ -303,13 +303,13 @@ class Gnu95FCompiler(GnuFCompiler):
i = opt.index("gcc")
opt.insert(i+1, "mingwex")
opt.insert(i+1, "mingw32")
- # XXX: fix this mess, does not work for mingw
- if is_win64():
- c_compiler = self.c_compiler
- if c_compiler and c_compiler.compiler_type == "msvc":
- return []
- else:
- raise NotImplementedError("Only MS compiler supported with gfortran on win64")
+ # XXX: fix this mess, does not work for mingw
+ if is_win64():
+ c_compiler = self.c_compiler
+ if c_compiler and c_compiler.compiler_type == "msvc":
+ return []
+ else:
+ raise NotImplementedError("Only MS compiler supported with gfortran on win64")
return opt
def get_target(self):
@@ -323,10 +323,10 @@ class Gnu95FCompiler(GnuFCompiler):
return ""
def get_flags_opt(self):
- if is_win64():
- return ['-O0']
+ if is_win64():
+ return ['-O0']
else:
- return GnuFCompiler.get_flags_opt(self)
+ return GnuFCompiler.get_flags_opt(self)
def _can_target(cmd, arch):
"""Return true is the command supports the -arch flag for the given
architecture."""