Remove the unused code
Change-Id: Iea78e30c7b764b8854d6c83cb369554b8133e29b
This commit is contained in:
parent
be0ac7981f
commit
077a250d7e
@ -127,17 +127,6 @@ class DetailView(horizon.tables.MultiTableView):
|
|||||||
|
|
||||||
return efficacy_indicators
|
return efficacy_indicators
|
||||||
|
|
||||||
try:
|
|
||||||
action_plan = self._get_data()
|
|
||||||
actions = watcher.Action.list(self.request,
|
|
||||||
action_plan=action_plan.uuid)
|
|
||||||
except Exception as exc:
|
|
||||||
LOG.exception(exc)
|
|
||||||
actions = []
|
|
||||||
msg = _('Action list can not be retrieved.')
|
|
||||||
horizon.exceptions.handle(self.request, msg)
|
|
||||||
return actions
|
|
||||||
|
|
||||||
def get_context_data(self, **kwargs):
|
def get_context_data(self, **kwargs):
|
||||||
context = super(DetailView, self).get_context_data(**kwargs)
|
context = super(DetailView, self).get_context_data(**kwargs)
|
||||||
action_plan = self._get_data()
|
action_plan = self._get_data()
|
||||||
|
Loading…
Reference in New Issue
Block a user