version 1.2, 2007/10/26 21:41:14
|
version 1.4, 2007/11/26 20:32:58
|
Line 89 class XmlRpcProxyMethod(SimpleItem):
|
Line 89 class XmlRpcProxyMethod(SimpleItem):
|
"""do proxy request""" |
"""do proxy request""" |
server=self.aq_parent.getProxy() |
server=self.aq_parent.getProxy() |
|
|
|
if self.rpc_arg_expr: |
# clean arguments |
# clean arguments |
args = [ re.sub(self.rpc_arg_expr,'',a) for a in argv] |
args = [ re.sub(self.rpc_arg_expr,'',a) for a in argv] |
|
else: |
|
args = argv |
|
|
# call the method self.id on the server with the args |
# call the method self.id on the server with the args |
return getattr(server, self.id)(*args) |
return getattr(server, self.id)(*args) |