Commit 7228d41a by David Baumgold

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

Don't show duplicate JIRA tickets in the release PR table
parents 5dd7ffe7 4c4c2a17
...@@ -225,7 +225,7 @@ def parse_ticket_references(text): ...@@ -225,7 +225,7 @@ def parse_ticket_references(text):
Given a commit message, return a list of all JIRA ticket references in that 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. 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): class DoesNotExist(Exception):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment