diff options
Diffstat (limited to 'openstack_dashboard/dashboards/project/floating_ips/views.py')
-rw-r--r-- | openstack_dashboard/dashboards/project/floating_ips/views.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/openstack_dashboard/dashboards/project/floating_ips/views.py b/openstack_dashboard/dashboards/project/floating_ips/views.py index affbe28a3..252fe60c6 100644 --- a/openstack_dashboard/dashboards/project/floating_ips/views.py +++ b/openstack_dashboard/dashboards/project/floating_ips/views.py @@ -62,7 +62,8 @@ class AllocateView(forms.ModalFormView): context = super(AllocateView, self).get_context_data(**kwargs) try: context['usages'] = quotas.tenant_quota_usages( - self.request, targets=('floatingip', )) + self.request, targets=('floatingip', ) + ) except Exception: exceptions.handle(self.request) return context |