diff options
author | njsmith <njs@pobox.com> | 2013-03-01 05:24:19 -0800 |
---|---|---|
committer | njsmith <njs@pobox.com> | 2013-03-01 05:24:19 -0800 |
commit | d1b5ea9307f2d17a13d4497d8e9516587964ccd7 (patch) | |
tree | 704bb6e0e89b115d0d628a7a683c97d27596d123 /numpy/distutils | |
parent | 48df79673f81a8421421233e26f663f260bcebfd (diff) | |
parent | 9da706c1fb01a324e4a42760fbceeef78af3e2bc (diff) | |
download | numpy-d1b5ea9307f2d17a13d4497d8e9516587964ccd7.tar.gz |
Merge pull request #3097 from charris/2to3-sys_exc
2to3: Apply `sys_exc` fixes. Closes #3086.
Diffstat (limited to 'numpy/distutils')
-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 a9b2af108..96bf37bb3 100644 --- a/numpy/distutils/cpuinfo.py +++ b/numpy/distutils/cpuinfo.py @@ -516,7 +516,7 @@ class Win32CPUInfo(CPUInfoBase): info[-1]["Model"]=int(srch.group("MDL")) info[-1]["Stepping"]=int(srch.group("STP")) except: - print(sys.exc_value,'(ignoring)') + print(sys.exc_info()[1],'(ignoring)') self.__class__.info = info def _not_impl(self): pass |