zephyr_mirror: Add print statement for message download retries.

(imported from commit 8fc38d709679371ca338e7d819f3cf5e6d061935)
This commit is contained in:
Tim Abbott 2012-09-28 21:13:16 -04:00
parent 85da33c4ee
commit b4f7165072
1 changed files with 2 additions and 1 deletions

View File

@ -289,7 +289,8 @@ def humbug_to_zephyr(options):
except HTTPError, e:
# 502/503 typically means the server was restarted; sleep
# a bit, then try again
time.sleep(1)
print "Failed getting zephyrs; trying again in 5 seconds."
time.sleep(5)
if e.code == 401:
# 401 means digest auth failed -- we need to login again
while True: