Merge "Fix inappropriate error message for network table"
This commit is contained in:
commit
62907911c8
@ -47,7 +47,8 @@ class IndexView(tables.DataTableView):
|
|||||||
tenants, has_more = api.keystone.tenant_list(self.request)
|
tenants, has_more = api.keystone.tenant_list(self.request)
|
||||||
except Exception:
|
except Exception:
|
||||||
tenants = []
|
tenants = []
|
||||||
msg = _('Unable to retrieve instance project information.')
|
msg = _("Unable to retrieve information about the "
|
||||||
|
"networks' projects.")
|
||||||
exceptions.handle(self.request, msg)
|
exceptions.handle(self.request, msg)
|
||||||
|
|
||||||
tenant_dict = SortedDict([(t.id, t) for t in tenants])
|
tenant_dict = SortedDict([(t.id, t) for t in tenants])
|
||||||
|
Loading…
Reference in New Issue
Block a user