diff options
author | Adam Ginsburg <adam.g.ginsburg@gmail.com> | 2013-04-21 12:04:28 -0600 |
---|---|---|
committer | Adam Ginsburg <adam.g.ginsburg@gmail.com> | 2013-04-21 12:04:28 -0600 |
commit | 63d9a9b468cc0c15325b1320cf13409b8d2210af (patch) | |
tree | 3ad64def4c73511dbfb99559b24a566b05824c8e | |
parent | 9016aa47a65fc2e3b19c82d01174f591655e517d (diff) | |
download | numpy-63d9a9b468cc0c15325b1320cf13409b8d2210af.tar.gz |
reduces excess cleverness from 1/2 to 1/3
-rw-r--r-- | numpy/distutils/command/build_ext.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/distutils/command/build_ext.py b/numpy/distutils/command/build_ext.py index 6cd8f10e4..97bfa1613 100644 --- a/numpy/distutils/command/build_ext.py +++ b/numpy/distutils/command/build_ext.py @@ -297,8 +297,8 @@ class build_ext (old_build_ext): else: # in case ext.language is c++, for instance fcompiler = self._f90_compiler or self._f77_compiler if fcompiler is not None: - fcompiler.extra_f77_compile_args = ext.extra_f77_compile_args or [] if hasattr(ext,'extra_f77_compile_args') else [] - fcompiler.extra_f90_compile_args = ext.extra_f90_compile_args or [] if hasattr(ext,'extra_f90_compile_args') else [] + fcompiler.extra_f77_compile_args = (ext.extra_f77_compile_args or []) if hasattr(ext,'extra_f77_compile_args') else [] + fcompiler.extra_f90_compile_args = (ext.extra_f90_compile_args or []) if hasattr(ext,'extra_f90_compile_args') else [] cxx_compiler = self._cxx_compiler # check for the availability of required compilers |