Merge "Guarantee that data is not undefined in quota index view."

This commit is contained in:
Jenkins 2012-07-30 03:56:18 +00:00 committed by Gerrit Code Review
commit 6b3545ef70

View File

@ -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