From 4c4c2a17f413906550867439ea23f45b1e5b35ef Mon Sep 17 00:00:00 2001 From: David Baumgold Date: Tue, 13 May 2014 15:37:54 -0400 Subject: [PATCH] Don't show duplicate JIRA tickets in the release PR table --- scripts/release.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/release.py b/scripts/release.py index ea00ecceeb..0bdfe6985c 100755 --- a/scripts/release.py +++ b/scripts/release.py @@ -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):