applied the except and raise fixers to the master branch to close the gap with py3
[nepi.git] / src / nepi / resources / ns3 / ns3fdnetdevice.py
index 4473980..8ba29df 100644 (file)
@@ -48,7 +48,7 @@ class NS3BaseFdNetDevice(NS3BaseNetDevice):
         if mode != "ns3::RealtimeSimulatorImpl":
             msg = "The simulation must run in real time!!"
             self.error(msg)
-            raise RuntimeError, msg
+            raise RuntimeError(msg)
         
         super(NS3BaseFdNetDevice, self)._instantiate_object()