applied the except and raise fixers to the master branch to close the gap with py3
[nepi.git] / src / nepi / resources / ns3 / ns3channel.py
index 70b03fc..b218e51 100644 (file)
@@ -35,7 +35,7 @@ class NS3BaseChannel(NS3Base):
         if not devices: 
             msg = "Channel not connected to devices"
             self.error(msg)
-            raise RuntimeError, msg
+            raise RuntimeError(msg)
 
         return devices