applied the except and raise fixers to the master branch to close the gap with py3
[nepi.git] / src / nepi / resources / netns / netnsnodeinterface.py
index ab627fc..4c2795b 100644 (file)
@@ -44,7 +44,7 @@ class NetNSNodeInterface(NetNSInterface):
         if not node: 
             msg = "Route not connected to Node!!"
             self.error(msg)
-            raise RuntimeError, msg
+            raise RuntimeError(msg)
 
         return node[0]