From bb60aabcba85281e5763b4304337215b5cc5a32a Mon Sep 17 00:00:00 2001 From: Chad Roberts Date: Tue, 22 Jul 2014 14:45:55 -0400 Subject: [PATCH] Fixing data processing image registry The Data Processing Image Registry was not adapted to use expect the "previous" return value from glance.image_list_detailed. This change allows the Image Registry to work correctly again. Change-Id: I990962483197f54ee9436278463c4709b909297a Closes-Bug: #1347036 --- .../project/data_processing/data_image_registry/forms.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openstack_dashboard/dashboards/project/data_processing/data_image_registry/forms.py b/openstack_dashboard/dashboards/project/data_processing/data_image_registry/forms.py index b2d6f17292..c11b64f6bc 100644 --- a/openstack_dashboard/dashboards/project/data_processing/data_image_registry/forms.py +++ b/openstack_dashboard/dashboards/project/data_processing/data_image_registry/forms.py @@ -77,7 +77,8 @@ class RegisterImageForm(ImageForm): def _get_images(self, request, filter): try: - images, _more = glance.image_list_detailed(request, filters=filter) + images, _more, _prev = ( + glance.image_list_detailed(request, filters=filter)) except Exception: images = [] exceptions.handle(request,