def jql(self, query, offset=None):
        verbose = False
        resource_name = "search"
        url = (self.server, urllib.quote(resource_name)) % "https://%s/rest/api/latest/%s"
        params = {"jql":query}
        if offset is not None:
            params["startAt"] = offset
        r = requests.get(url, params=params, headers={ "Authorization":self.credentials.authorizationHeaderValue() }, verify=self.verify)
        if(r.ok):
            results = r.json()
            return results
        else:
            print "Request failed: ", r.status_code
            print r.text
        return None
dataset/ETHPy150Open SalesforceEng/Providence/Empire/bugsystems/jira/JiraAPI.py/JiraAPI.jql/swapped operands of `%`