From 63d9a9b468cc0c15325b1320cf13409b8d2210af Mon Sep 17 00:00:00 2001 From: Adam Ginsburg Date: Sun, 21 Apr 2013 12:04:28 -0600 Subject: reduces excess cleverness from 1/2 to 1/3 --- numpy/distutils/command/build_ext.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'numpy/distutils/command/build_ext.py') 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 -- cgit v1.2.1