Fix uninitialized variable in launch instance

Change-Id: If93dbe0ddd0af4333ac69662beb5151e5d1ea95c
This commit is contained in:
Kieran Spear 2013-02-22 14:19:11 +11:00
parent 7d13abc477
commit 235935f4d1

View File

@ -243,6 +243,7 @@ class SetInstanceDetailsAction(workflows.Action):
owned_images, _more = glance.image_list_detailed(
request, filters=owner)
except:
owned_images = []
exceptions.handle(request,
_("Unable to retrieve images for "
"the current project."))