Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(5)  |  Call(5)  |  Derive(0)  |  Import(0)

src/q/u/quality_report-1.0/qualitylib/metric_source/jira.py   quality_report(Download)
            urllib.quote_plus('status in (Open, "In Progress", Reopened) AND ' \
                              'issuetype = "Technical Task"')
        issues = utils.eval_json(self.url_open(url).read())['issues']
        logging.info('Received %d Jira issues', len(issues))
        logging.debug('Jira issues: %s', issues)
    def __query_total(self, query_id):
        ''' Return the number of results of the specified query. '''
        query_url = self.__get_query_url(query_id)
        json_string = self.url_open(query_url).read()
        return int(utils.eval_json(json_string)['total'])
        json_string = self.url_open(url).read()
        url_type = 'searchUrl' if search else 'viewUrl'
        return utils.eval_json(json_string)[url_type]
 
    def nr_open_bugs_url(self):

src/q/u/quality_report-1.0/qualitylib/metric_source/trello.py   quality_report(Download)
        except (urllib2.URLError, httplib.BadStatusLine), reason:
            raise TrelloUnreachableException(reason)
        return utils.eval_json(json_string)
 
    def name(self):

src/q/u/quality_report-1.0/qualitylib/metric_source/sonar.py   quality_report(Download)
        logging.debug('Removing Sonar analyses, keeping %s', 
                      sonar_analyses_to_keep)
        analyses = utils.eval_json(self.url_open(self.__sonar_url + \
                                                 'api/resources').read())
        for analysis in analyses: