Merge "Fix inappropriate error message for network table"

This commit is contained in:
Jenkins 2015-03-03 19:10:43 +00:00 committed by Gerrit Code Review
commit 62907911c8

View File

@ -47,7 +47,8 @@ class IndexView(tables.DataTableView):
tenants, has_more = api.keystone.tenant_list(self.request)
except Exception:
tenants = []
msg = _('Unable to retrieve instance project information.')
msg = _("Unable to retrieve information about the "
"networks' projects.")
exceptions.handle(self.request, msg)
tenant_dict = SortedDict([(t.id, t) for t in tenants])