def call(self, cgi, params):
        """Run an API command.

        :param cgi: cgi command to run on the server
        :param params: dict with the HTTP parameters needed to run
            the given command
        """
        url = self.URL % {'base': self.base_url, 'cgi': cgi}

        logger.debug("Bugzilla client calls command: %s params: %s",
                     cgi, str(params))

        req = self.fetch(url, payload=params)

        return req.text
def call(self, cgi, params):
        """Run an API command.

        :param cgi: cgi command to run on the server
        :param params: dict with the HTTP parameters needed to run
            the given command
        """
        url = self.URL % {'base': self.base_url, 'cgi': cgi}

        logger.debug("Bugzilla client calls command: %s params: %s",
                     cgi, str(params))

        req = self.fetch(url, payload=params)

        return req.text
def call ( self , cgi , params ) : url = self . URL % { 'base' : self . base_url , 'cgi' : cgi } logger . debug ( "Bugzilla client calls command: %s params: %s" , cgi , str ( params ) ) req = self . fetch ( url , payload = params ) return req . text
Run an API command.

        :param cgi: cgi command to run on the server
        :param params: dict with the HTTP parameters needed to run
            the given command
Run an API command .