X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=system%2FSubstrate.py;h=a5f06bba0ea1fba1bab6f3d4831902ace3a46243;hb=93b57f5a05dc3eafa1a5c2c4ac54e852f508d10d;hp=3eb57f88dcd45867d8fafe59f32143cf2cafd834;hpb=4e153372313733ec80c5f5ff727b716e8b98a3bb;p=tests.git diff --git a/system/Substrate.py b/system/Substrate.py index 3eb57f8..a5f06bb 100644 --- a/system/Substrate.py +++ b/system/Substrate.py @@ -272,6 +272,13 @@ class Pool: command = "ping -c 1 {} 1 {}".format(Pool.ping_timeout_option, hostname) (status, output) = subprocess.getstatusoutput(command) +# print (""" +#---------- +#Ping command <{command}> has returned {status} +#-- +#{output} +#---------- +# """.format(**locals())) return status == 0 ####################