diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2013-02-28 17:23:13 -0700 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2013-03-01 08:35:12 -0700 |
commit | 3655b732bd08022dab8498b44191d6c4049bc7a8 (patch) | |
tree | a2a2210d560d5696e47a5dcf5d969faa8d21ad79 /numpy/f2py/auxfuncs.py | |
parent | d1e692d70da7532b02d752d0842987333bd76c70 (diff) | |
download | numpy-3655b732bd08022dab8498b44191d6c4049bc7a8.tar.gz |
2to3: Apply `raise` fixes. Closes #3077.
Replaces the
raise Exception, msg:
form with
raise Exception(msg):
Diffstat (limited to 'numpy/f2py/auxfuncs.py')
-rw-r--r-- | numpy/f2py/auxfuncs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/f2py/auxfuncs.py b/numpy/f2py/auxfuncs.py index a12d92b7e..72af373db 100644 --- a/numpy/f2py/auxfuncs.py +++ b/numpy/f2py/auxfuncs.py @@ -447,7 +447,7 @@ class throw_error: self.mess = mess def __call__(self,var): mess = '\n\n var = %s\n Message: %s\n' % (var,self.mess) - raise F2PYError,mess + raise F2PYError(mess) def l_and(*f): l,l2='lambda v',[] |