From f8eda3da3e4cf7053947d365219e82fa7079b9cf Mon Sep 17 00:00:00 2001 From: "rcritten@redhat.com" Date: Wed, 26 Sep 2007 16:31:43 -0400 Subject: Fix a couple of XML-RPC functions that were missing the opts argument Include a kerberized XML-RPC client that will list the XML-RPC API --- ipa-server/xmlrpc-server/ipaxmlrpc.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ipa-server/xmlrpc-server/ipaxmlrpc.py') diff --git a/ipa-server/xmlrpc-server/ipaxmlrpc.py b/ipa-server/xmlrpc-server/ipaxmlrpc.py index aa904464..9314bd5c 100644 --- a/ipa-server/xmlrpc-server/ipaxmlrpc.py +++ b/ipa-server/xmlrpc-server/ipaxmlrpc.py @@ -227,7 +227,7 @@ class ModXMLRPCRequestHandler(object): return results - def list_api(self): + def list_api(self,opts): funcs = [] for name,func in self.funcs.items(): #the keys in self.funcs determine the name of the method as seen over xmlrpc @@ -249,14 +249,14 @@ class ModXMLRPCRequestHandler(object): args.append(func.func_code.co_varnames[x]) return args - def system_listMethods(self): + def system_listMethods(self, opts): return self.funcs.keys() - def system_methodSignature(self, method): + def system_methodSignature(self, method, opts): #it is not possible to autogenerate this data return 'signatures not supported' - def system_methodHelp(self, method): + def system_methodHelp(self, method, opts): func = self.funcs.get(method) if func is None: return "" -- cgit