def create_xmlrpc_proxy(url, username, password):
    """Obtain an XMLRPC proxy to the Bugzilla service."""
    transport = bugzilla_transport(url)
    proxy = xmlrpclib.ServerProxy(url, transport)
    proxy.User.login({'login': username, 'password': password})

    return transport, proxy
示例#2
0
def create_xmlrpc_proxy(url, username, password):
    """Obtain an XMLRPC proxy to the Bugzilla service."""
    transport = bugzilla_transport(url)
    proxy = xmlrpclib.ServerProxy(url, transport)
    proxy.User.login({'login': username, 'password': password})

    return transport, proxy
示例#3
0
    def transport(self):
        if self._transport is None:
            self._transport = bugzilla_transport(self.xmlrpc_url)

        return self._transport
示例#4
0
    def transport(self):
        if self._transport is None:
            self._transport = bugzilla_transport(self.xmlrpc_url)

        return self._transport