X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=src%2Fnepi%2Fresources%2Flinux%2Fping.py;h=f585b2e3f14cea395b89d3e68190343e61389497;hb=6285ca51026efb69642eea9dfc7c480e722d84a9;hp=c660e8e997b88729164dc516a7ee4d0c7c9808e4;hpb=e55924b6886bd7382a28e1ae235c4810f852e163;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()