diff options
Diffstat (limited to 'numpy/distutils/cpuinfo.py')
-rw-r--r-- | numpy/distutils/cpuinfo.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/distutils/cpuinfo.py b/numpy/distutils/cpuinfo.py index c478b07e6..86939bb5f 100644 --- a/numpy/distutils/cpuinfo.py +++ b/numpy/distutils/cpuinfo.py @@ -104,7 +104,7 @@ class LinuxCPUInfo(CPUInfoBase): if len(name_value) != 2: continue name, value = name_value - if not info or info[-1].has_key(name): # next processor + if not info or name in info[-1]: # next processor info.append({}) info[-1][name] = value fo.close() |