applied the except and raise fixers to the master branch to close the gap with py3
[nepi.git] / src / nepi / resources / ns3 / ns3propagationdelaymodel.py
index 240094e..9f61915 100644 (file)
@@ -35,7 +35,7 @@ class NS3BasePropagationDelayModel(NS3Base):
         if not channels: 
             msg = "PropagationDelayModel not connected to channel"
             self.error(msg)
-            raise RuntimeError, msg
+            raise RuntimeError(msg)
 
         return channels[0]