コード例 #1
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
コード例 #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
ファイル: client.py プロジェクト: sethfowler/dot-config
    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