diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2013-02-26 20:04:59 -0700 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2013-02-26 20:04:59 -0700 |
commit | 705bf928e1256a06019c75ee945370fbe89cdde7 (patch) | |
tree | 3e1d8ebcef67a93d8d5eeb63db1256406ae5c49f /numpy/distutils/system_info.py | |
parent | 17774a6d58b889b6b7a25d6af5b66f2148d47f41 (diff) | |
download | numpy-705bf928e1256a06019c75ee945370fbe89cdde7.tar.gz |
2to3: Use modern exception syntax.
Example: except ValueError,msg: -> except ValueError as msg:
Diffstat (limited to 'numpy/distutils/system_info.py')
-rw-r--r-- | numpy/distutils/system_info.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/distutils/system_info.py b/numpy/distutils/system_info.py index 4dd3d4b6b..38a8b25a5 100644 --- a/numpy/distutils/system_info.py +++ b/numpy/distutils/system_info.py @@ -1667,7 +1667,7 @@ class _numpy_info(system_info): ## (self.modulename.upper()+'_VERSION_HEX', ## hex(vstr2hex(module.__version__))), ## ) -## except Exception,msg: +## except Exception as msg: ## print msg dict_append(info, define_macros=macros) include_dirs = self.get_include_dirs() |