Commit 12574143 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 205151d9
......@@ -253,7 +253,7 @@ def do_method(module, method, params, URI=None, quiet=False, version=None,
except xmlrpclib.Fault, e:
if not quiet: print >> sys.stderr, e.faultString
if e.faultCode == 511:
if e.faultCode == 503:
print >> sys.stderr, "Will try again in a moment. Be patient!"
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