summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Still <mikal@stillhq.com>2012-02-18 10:07:06 +1100
committerMichael Still <mikal@stillhq.com>2012-02-18 10:07:36 +1100
commit3326628ca8da78f75b017afd214533904471474a (patch)
treea55ec074c44bc62b88ae9fbff7e413543f486a6a
parent55bc3d927739f98a002c4590b196aa6780fa8fbf (diff)
Resolve bug/934566.
Change-Id: I09934034527367e731d9ba09dcb860922e2b5017
-rw-r--r--nova/virt/libvirt/imagecache.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/virt/libvirt/imagecache.py b/nova/virt/libvirt/imagecache.py
index e8d448337..6e5581d84 100644
--- a/nova/virt/libvirt/imagecache.py
+++ b/nova/virt/libvirt/imagecache.py
@@ -365,7 +365,7 @@ class ImageCacheManager(object):
fingerprint = hashlib.sha1(str(img['id'])).hexdigest()
for result in self._find_base_file(base_dir, fingerprint):
- base_file, image_small, image_resized = res
+ base_file, image_small, image_resized = result
self._handle_base_image(img, base_file)
if not image_small and not image_resized: