Started moving xmlrpc-functions from ipalib.util to ipalib.rpc

This commit is contained in:
Jason Gerard DeRose
2008-11-24 12:51:03 -07:00
parent 2db738e899
commit 237c16f0fd
4 changed files with 242 additions and 2 deletions

View File

@@ -47,11 +47,10 @@ class xmlrpc(Backend):
# Are there any reasonably common XML-RPC client implementations
# that don't support the <nil/> extension?
# See: http://docs.python.org/library/xmlrpclib.html
uri = self.api.env.xmlrpc_uri
uri = self.env.xmlrpc_uri
if uri.startswith('https://'):
return xmlrpclib.ServerProxy(uri,
transport=KerbTransport(),
#verbose=self.api.env.verbose,
)
return xmlrpclib.ServerProxy(uri)