applied the except and raise fixers to the master branch to close the gap with py3
[nepi.git] / src / nepi / resources / ns3 / ns3icmpv4l4protocol.py
index f653e9c..ae39a5e 100644 (file)
@@ -31,7 +31,7 @@ class NS3BaseIcmpv4L4Protocol(NS3Base):
         if not nodes: 
             msg = "Icmp4L4Protocol not connected to node"
             self.error(msg)
-            raise RuntimeError, msg
+            raise RuntimeError(msg)
 
         return nodes[0]