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