applied the except and raise fixers to the master branch to close the gap with py3
[nepi.git] / src / nepi / resources / linux / gretunnel.py
index 6ca021b..f422a63 100644 (file)
@@ -72,7 +72,7 @@ class LinuxGRETunnel(LinuxTunnel):
         if not m or int(m.groups()[0]) == 100:
              msg = " Error establishing GRE Tunnel"
              self.error(msg, out, err)
-             raise RuntimeError, msg
+             raise RuntimeError(msg)
 
     def terminate_connection(self, endpoint, remote_endpoint):
         pass