Commit 4c4c2a17 by David Baumgold

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

parent e4d0b4d8
......@@ -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):
......
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