X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=src%2Fnepi%2Fresources%2Flinux%2Fping.py;fp=src%2Fnepi%2Fresources%2Flinux%2Fping.py;h=f585b2e3f14cea395b89d3e68190343e61389497;hb=ceb8eff6fce7c6d83025f3894b63046aac0d9cff;hp=c660e8e997b88729164dc516a7ee4d0c7c9808e4;hpb=039fbd9629d7570d4c175a5448d24badcd0f3aba;p=nepi.git diff --git a/src/nepi/resources/linux/ping.py b/src/nepi/resources/linux/ping.py index c660e8e9..f585b2e3 100644 --- a/src/nepi/resources/linux/ping.py +++ b/src/nepi/resources/linux/ping.py @@ -212,7 +212,7 @@ class LinuxPing(LinuxApplication): else: msg = " Failed to execute command '%s'" % command self.error(msg, out, err) - raise RuntimeError, msg + raise RuntimeError(msg) else: super(LinuxPing, self).do_start()