applied the except and raise fixers to the master branch to close the gap with py3
[nepi.git] / src / nepi / resources / ns3 / ns3base.py
index 714f40f..26632e0 100644 (file)
@@ -132,7 +132,7 @@ class NS3Base(ResourceManager):
         else:
             msg = "Failed"
             self.error(msg, out, err)
-            raise RuntimeError, msg
+            raise RuntimeError(msg)
 
     def do_stop(self):
         if self.state == ResourceState.STARTED: