Don't show duplicate JIRA tickets in the release PR table

This commit is contained in:
David Baumgold
2014-05-13 15:37:54 -04:00
parent e4d0b4d8e0
commit 4c4c2a17f4

View File

@@ -225,7 +225,7 @@ def parse_ticket_references(text):
Given a commit message, return a list of all JIRA ticket references in that
message. If there are no ticket references, return an empty list.
"""
return JIRA_RE.findall(text)
return set(JIRA_RE.findall(text))
class DoesNotExist(Exception):