summaryrefslogtreecommitdiff
path: root/numpy/f2py/auxfuncs.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2013-03-01 08:36:46 -0700
committerCharles Harris <charlesr.harris@gmail.com>2013-03-01 08:36:46 -0700
commit02cfcb99bc976a0bfc39529999e2a0200fb9cc2a (patch)
treea2a2210d560d5696e47a5dcf5d969faa8d21ad79 /numpy/f2py/auxfuncs.py
parentd1e692d70da7532b02d752d0842987333bd76c70 (diff)
parent3655b732bd08022dab8498b44191d6c4049bc7a8 (diff)
downloadnumpy-02cfcb99bc976a0bfc39529999e2a0200fb9cc2a.tar.gz
Merge branch '2to3-raise'
Use modern raise syntax for python 3 compatibility. * 2to3-raise: 2to3: Apply `raise` fixes. Closes #3077.
Diffstat (limited to 'numpy/f2py/auxfuncs.py')
-rw-r--r--numpy/f2py/auxfuncs.py2
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',[]