diff options
| author | Joshua Harlow <harlowja@yahoo-inc.com> | 2012-11-08 10:47:41 -0800 |
|---|---|---|
| committer | Russell Bryant <rbryant@redhat.com> | 2012-11-09 09:52:01 -0500 |
| commit | 528add2df39c2381cc7992a5026d283eea8816fa (patch) | |
| tree | 44e55088cf2408b6dbaac3dfe174dec99a77719d /nova/virt | |
| parent | e83a155f4cc92cbf9fae8b1587d14e8a8158f245 (diff) | |
Another case of dictionary access
Fixes bug 1076114 which was using the old dictionary
access for getting the qemu image info 'file format'
attribute which now should be through direct attribute
access to 'file_format' instead.
Change-Id: Id4c12b43b389b2fd2300d02743db17cf48b38e8f
Diffstat (limited to 'nova/virt')
| -rw-r--r-- | nova/virt/libvirt/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/virt/libvirt/utils.py b/nova/virt/libvirt/utils.py index 53b7a7571..6f163e8d0 100644 --- a/nova/virt/libvirt/utils.py +++ b/nova/virt/libvirt/utils.py @@ -416,7 +416,7 @@ def get_disk_type(path): if path.startswith('/dev'): return 'lvm' - return images.qemu_img_info(path)['file format'] + return images.qemu_img_info(path).file_format def get_fs_info(path): |
