def _extract_issues(logs):
 issues = ISSUE_REGEX.findall(' '.join([log.message for log in logs]))
 links = {(ISSUE_URL_FORMAT_STRING % issue) for issue in issues}
 return links

def _extract_issues ( logs ) : issues = ISSUE_REGEX . findall ( ' ' . join ( [ log . message for log in logs ] ) ) links = { ( ISSUE_URL_FORMAT_STRING % issue ) for issue in issues } return links
extract references to issues out of a list of logs args: logs : list of logs to parse returns: set[str]: set of found issues as links to github .