Merge "Guarantee that data is not undefined in quota index view."
This commit is contained in:
commit
6b3545ef70
@ -41,5 +41,6 @@ class IndexView(tables.DataTableView):
|
||||
self.request.user.tenant_id)
|
||||
data = quota_set.items
|
||||
except:
|
||||
data = []
|
||||
exceptions.handle(self.request, _('Unable to get quota info.'))
|
||||
return data
|
||||
|
Loading…
Reference in New Issue
Block a user