applied the except and raise fixers to the master branch to close the gap with py3
[nepi.git] / src / nepi / resources / netns / netnsnode.py
index a0748c2..cb0e0ad 100644 (file)
@@ -35,7 +35,7 @@ class NetNSNode(NetNSBase):
 
         msg = "Node not connected to Emulation"
         self.error(msg)
-        raise RuntimeError, msg
+        raise RuntimeError(msg)
  
     @property
     def _rms_to_wait(self):