diff options
author | melissaml <ma.lei@99cloud.net> | 2018-08-22 12:39:50 +0800 |
---|---|---|
committer | melissaml <ma.lei@99cloud.net> | 2018-08-22 12:40:15 +0800 |
commit | 700f5223a9a9a13edcb7ec64b812869469dc9ec8 (patch) | |
tree | 4861c3ca0fe9a7ececee039d13d5c4d88f472236 | |
parent | b50673381f421522757362ee6cec8a99967aef78 (diff) |
Remove the duplicated word
Change-Id: Ie6b95d0853d48712e6699aa74da6ae948e72c5a6
Notes
Notes (review):
Code-Review+1: Vishakha Agarwal <agarwalvishakha18@gmail.com>
Code-Review+2: Amir Mofakhar <amofakhar@op5.com>
Workflow+1: Amir Mofakhar <amofakhar@op5.com>
Verified+2: Zuul
Submitted-by: Zuul
Submitted-at: Wed, 22 Aug 2018 07:33:53 +0000
Reviewed-on: https://review.openstack.org/594796
Project: openstack/monasca-notification
Branch: refs/heads/master
-rw-r--r-- | monasca_notification/plugins/jira_notifier.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/monasca_notification/plugins/jira_notifier.py b/monasca_notification/plugins/jira_notifier.py index 0152368..bc927b1 100644 --- a/monasca_notification/plugins/jira_notifier.py +++ b/monasca_notification/plugins/jira_notifier.py | |||
@@ -231,7 +231,7 @@ class JiraNotifier(AbstractNotifier): | |||
231 | self._log.debug("Found an existing issue {} for this notification".format(issue)) | 231 | self._log.debug("Found an existing issue {} for this notification".format(issue)) |
232 | current_state = issue.fields.status.name | 232 | current_state = issue.fields.status.name |
233 | if current_state.lower() in ["resolved", "closed"]: | 233 | if current_state.lower() in ["resolved", "closed"]: |
234 | # Open the the issue | 234 | # Open the issue |
235 | transitions = jira_obj.transitions(issue) | 235 | transitions = jira_obj.transitions(issue) |
236 | allowed_transistions = [(t['id'], t['name']) | 236 | allowed_transistions = [(t['id'], t['name']) |
237 | for t in transitions if "reopen" in t['name'].lower()] | 237 | for t in transitions if "reopen" in t['name'].lower()] |