applied the except and raise fixers to the master branch to close the gap with py3
[nepi.git] / src / nepi / resources / ns3 / ns3ipv4l3protocol.py
index 11a85ea..c82e9a1 100644 (file)
@@ -37,7 +37,7 @@ class NS3BaseIpv4L3Protocol(NS3Base):
         if not nodes: 
             msg = "Ipv4L3Protocol not connected to node"
             self.error(msg)
-            raise RuntimeError, msg
+            raise RuntimeError(msg)
 
         return nodes[0]