applied the except and raise fixers to the master branch to close the gap with py3
[nepi.git] / src / nepi / resources / linux / traceroute.py
index 595fa01..b9cdf99 100644 (file)
@@ -95,7 +95,7 @@ class LinuxTraceroute(LinuxApplication):
             else:
                 msg = " Failed to execute command '%s'" % command
                 self.error(msg, out, err)
-                raise RuntimeError, msg
+                raise RuntimeError(msg)
         else:
            super(LinuxTraceroute, self).do_start()