Remove the duplicated word
Change-Id: Ie6b95d0853d48712e6699aa74da6ae948e72c5a6
This commit is contained in:
parent
b50673381f
commit
700f5223a9
|
@ -231,7 +231,7 @@ class JiraNotifier(AbstractNotifier):
|
||||||
self._log.debug("Found an existing issue {} for this notification".format(issue))
|
self._log.debug("Found an existing issue {} for this notification".format(issue))
|
||||||
current_state = issue.fields.status.name
|
current_state = issue.fields.status.name
|
||||||
if current_state.lower() in ["resolved", "closed"]:
|
if current_state.lower() in ["resolved", "closed"]:
|
||||||
# Open the the issue
|
# Open the issue
|
||||||
transitions = jira_obj.transitions(issue)
|
transitions = jira_obj.transitions(issue)
|
||||||
allowed_transistions = [(t['id'], t['name'])
|
allowed_transistions = [(t['id'], t['name'])
|
||||||
for t in transitions if "reopen" in t['name'].lower()]
|
for t in transitions if "reopen" in t['name'].lower()]
|
||||||
|
|
Loading…
Reference in New Issue