version 1.3, 2007/11/26 20:29:55
|
version 1.4, 2007/11/26 20:32:58
|
Line 92 class XmlRpcProxyMethod(SimpleItem):
|
Line 92 class XmlRpcProxyMethod(SimpleItem):
|
if self.rpc_arg_expr: |
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) |