applied the except and raise fixers to the master branch to close the gap with py3
[nepi.git] / src / nepi / util / execfuncs.py
index 1753119..cc95bdf 100644 (file)
@@ -155,7 +155,7 @@ def lspawn(command, pidfile,
     (out,err), proc = lexec(cmd)
     
     if proc.wait():
-        raise RuntimeError, "Failed to set up application on host %s: %s %s" % (host, out,err,)
+        raise RuntimeError("Failed to set up application on host %s: %s %s" % (host, out,err,))
 
     return ((out,err), proc)