applied the except and raise fixers to the master branch to close the gap with py3
[nepi.git] / src / nepi / resources / ns3 / ns3errorratemodel.py
index 80bc43e..c7182d0 100644 (file)
@@ -35,7 +35,7 @@ class NS3BaseErrorRateModel(NS3Base):
         if not phys: 
             msg = "ErrorRateModel not connected to phy"
             self.error(msg)
-            raise RuntimeError, msg
+            raise RuntimeError(msg)
 
         return phys[0]