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