Merge pull request #3707 from edx/db/release-script-no-duplicate-jira

Don't show duplicate JIRA tickets in the release PR table
This commit is contained in:
David Baumgold
2014-06-04 11:59:31 -04:00

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):