diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2011-04-05 15:08:23 -0600 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2011-04-05 17:38:00 -0600 |
commit | e1a9692cc36e4353798a332c834fce7aa6cf9b54 (patch) | |
tree | fc499f8768c8d2d99c64547cd1a0b7ae7e6018be /numpy/f2py/f2py2e.py | |
parent | cfd766456368777bcb0d5edabd360b3aeb02d3f8 (diff) | |
download | numpy-e1a9692cc36e4353798a332c834fce7aa6cf9b54.tar.gz |
STY: Update exception styles, trickier ones.
Diffstat (limited to 'numpy/f2py/f2py2e.py')
-rwxr-xr-x | numpy/f2py/f2py2e.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/f2py/f2py2e.py b/numpy/f2py/f2py2e.py index 86c4b31a4..2c9aca25a 100755 --- a/numpy/f2py/f2py2e.py +++ b/numpy/f2py/f2py2e.py @@ -378,7 +378,7 @@ def run_main(comline_list): if postlist[i]['block']!='python module': if 'python module' not in options: errmess('Tip: If your original code is Fortran source then you must use -m option.\n') - raise TypeError,'All blocks must be python module blocks but got %s'%(`postlist[i]['block']`) + raise TypeError('All blocks must be python module blocks but got %s'%(`postlist[i]['block']`)) auxfuncs.debugoptions=options['debug'] f90mod_rules.options=options auxfuncs.wrapfuncs=options['wrapfuncs'] |