Commit 99c6c7c4 authored by Leigh B Stoller's avatar Leigh B Stoller

Look for return code of 503 instead of 511, when server is too busy.

parent 12574143
......@@ -271,7 +271,7 @@ def do_method(module, method, params, URI=None, quiet=False, version=None,
if not quiet:
t.keep_going = False
print >> sys.stderr, e.faultString
if e.faultCode == 511:
if e.faultCode == 503:
print >> sys.stderr, "Will try again in a moment. Be patient!"
time.sleep(5.0)
continue
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment