Make initial connection failure message less daunting.

Right now it seems like something has gone wrong when this message is printed out.
Instead, this is a normal condition. So I changed the message a bit.
This commit is contained in:
Patrick Wendell 2013-08-21 15:45:45 -07:00
parent 6be6b71c8c
commit c02585ea13

View file

@ -562,7 +562,7 @@ def ssh(host, opts, command):
except subprocess.CalledProcessError as e:
if (tries > 2):
raise e
print "Error connecting to host {0}, sleeping 30".format(e)
print "Couldn't connect to host {0}, waiting 30 seconds".format(e)
time.sleep(30)
tries = tries + 1