Mercurial > p > roundup > code
comparison roundup/xmlrpc.py @ 4793:d9e5539303bd
Implement XMLRPC MultiCall (including test), see
http://docs.python.org/2/library/xmlrpclib.html#xmlrpclib.MultiCall
| author | Ralf Schlatterbeck <rsc@runtux.com> |
|---|---|
| date | Mon, 17 Jun 2013 16:53:34 +0200 |
| parents | c9b85ca1f985 |
| children | 6b7f257e5de8 |
comparison
equal
deleted
inserted
replaced
| 4792:1a0cf0345465 | 4793:d9e5539303bd |
|---|---|
| 196 SimpleXMLRPCDispatcher.__init__(self, allow_none, encoding) | 196 SimpleXMLRPCDispatcher.__init__(self, allow_none, encoding) |
| 197 except TypeError: | 197 except TypeError: |
| 198 # python2.4 | 198 # python2.4 |
| 199 SimpleXMLRPCDispatcher.__init__(self) | 199 SimpleXMLRPCDispatcher.__init__(self) |
| 200 self.register_instance(RoundupInstance(db, actions, translator)) | 200 self.register_instance(RoundupInstance(db, actions, translator)) |
| 201 self.register_multicall_functions() | |
| 201 | 202 |
| 202 | 203 |
| 203 def dispatch(self, input): | 204 def dispatch(self, input): |
| 204 return self._marshaled_dispatch(input) | 205 return self._marshaled_dispatch(input) |
| 205 | 206 |
