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
This commit is contained in:
Chad Roberts 2014-07-22 14:45:55 -04:00
parent fd20346ab0
commit bb60aabcba
1 changed files with 2 additions and 1 deletions

View File

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