def __readJsonInfo(self, ticket):

        if ticket in self.__cache:
            self.__log("Cached ticket info for " + ticket)
            return self.__cache[ticket]

        uri = "{0}/{1}".format(self.__restSearchUrl,ticket)
        headers = { 'Authorization': self.__jiraAuthorization }
        self.__log("Retrieving ticket info for " + ticket)
        r = requests.get( uri, headers = headers, verify=False )
        data = json.loads(r.text)
        if "errorMessages" in data:
            self.__log("Error retrieving Jira info: " + ",".join(data["errorMessages"]))
        self.__cache[ticket] = data
        return data
dataset/ETHPy150Open Cimpress-MCP/JustReleaseNotes/JustReleaseNotes/issuers/JiraIssues.py/JiraIssues.__readJsonInfo/original