diff options
author | David Cournapeau <cournape@gmail.com> | 2009-12-03 16:03:17 +0000 |
---|---|---|
committer | David Cournapeau <cournape@gmail.com> | 2009-12-03 16:03:17 +0000 |
commit | 944bb9fb73ed888f9917e3059274af2f3fa652fb (patch) | |
tree | 985fb48a2fb624daa1a2b87176846b0e252fa531 /numpy/distutils/command/config.py | |
parent | 90e79bd64d139f7938660635cbce558c39d98053 (diff) | |
download | numpy-944bb9fb73ed888f9917e3059274af2f3fa652fb.tar.gz |
remove has_key from config.
Diffstat (limited to 'numpy/distutils/command/config.py')
-rw-r--r-- | numpy/distutils/command/config.py | 4 |
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] |