diff --git a/openstack_dashboard/dashboards/project/volumes/views.py b/openstack_dashboard/dashboards/project/volumes/views.py index f25c822412..fedaeea378 100644 --- a/openstack_dashboard/dashboards/project/volumes/views.py +++ b/openstack_dashboard/dashboards/project/volumes/views.py @@ -47,6 +47,7 @@ class VolumeTableMixIn(object): except: exceptions.handle(self.request, _('Unable to retrieve volume list.')) + return [] def _get_instances(self): try: @@ -56,6 +57,7 @@ class VolumeTableMixIn(object): exceptions.handle(self.request, _("Unable to retrieve volume/instance " "attachment information")) + return [] def _set_id_if_nameless(self, volumes, instances): for volume in volumes: