summaryrefslogtreecommitdiff
path: root/numpy/distutils/command/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/distutils/command/config.py')
-rw-r--r--numpy/distutils/command/config.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/distutils/command/config.py b/numpy/distutils/command/config.py
index 28cf4cf9f..c99c966ac 100644
--- a/numpy/distutils/command/config.py
+++ b/numpy/distutils/command/config.py
@@ -355,8 +355,8 @@ int main ()
body.append("int main (void) {")
if call:
for f in funcs:
- if call.has_key(f) and call[f]:
- if not (call_args and call_args.has_key(f) and call_args[f]):
+ if f in call and call[f]:
+ if not (call_args and f in call_args and call_args[f]):
args = ''
else:
args = call_args[f]