hgcia: accept "queued." xmlrpc return as success stable
authorGeorg Brandl <georg@python.org>
Sun, 06 Mar 2011 11:30:57 +0100
branchstable
changeset 13551 bbfae32f178e
parent 13550 1792b8a9422b
child 13552 7ab85fec60c3
hgcia: accept "queued." xmlrpc return as success
hgext/hgcia.py
--- a/hgext/hgcia.py	Mon Mar 07 15:03:10 2011 -0600
+++ b/hgext/hgcia.py	Sun Mar 06 11:30:57 2011 +0100
@@ -198,7 +198,7 @@
     def sendrpc(self, msg):
         srv = xmlrpclib.Server(self.ciaurl)
         res = srv.hub.deliver(msg)
-        if res is not True:
+        if res is not True and res != 'queued.':
             raise util.Abort(_('%s returned an error: %s') %
                              (self.ciaurl, res))