From 235935f4d1443f055168965e5a48d458ddf5f0f6 Mon Sep 17 00:00:00 2001 From: Kieran Spear Date: Fri, 22 Feb 2013 14:19:11 +1100 Subject: [PATCH] Fix uninitialized variable in launch instance Change-Id: If93dbe0ddd0af4333ac69662beb5151e5d1ea95c --- .../dashboards/project/instances/workflows/create_instance.py | 1 + 1 file changed, 1 insertion(+) diff --git a/openstack_dashboard/dashboards/project/instances/workflows/create_instance.py b/openstack_dashboard/dashboards/project/instances/workflows/create_instance.py index 225dcb406..eb8a2adac 100644 --- a/openstack_dashboard/dashboards/project/instances/workflows/create_instance.py +++ b/openstack_dashboard/dashboards/project/instances/workflows/create_instance.py @@ -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."))