applied the except and raise fixers to the master branch to close the gap with py3
[nepi.git] / src / nepi / util / manifoldapi.py
index 9630127..5827d4f 100644 (file)
@@ -52,7 +52,7 @@ class MANIFOLDAPI(object):
 
         if not session['value']:
             msg = "Can not authenticate in Manifold API"
-            raise RuntimeError, msg
+            raise RuntimeError(msg)
 
         session_key = session['value'][0]['session']
         return dict(AuthMethod='session', session=session_key)