diff options
| author | Jenkins <jenkins@review.openstack.org> | 2012-08-04 22:51:14 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2012-08-04 22:51:14 +0000 |
| commit | c2ef8ad7c01b2cb5e0cceb676ea34f7afee828aa (patch) | |
| tree | b30200c44e43d743a8d92f2fd4cf54150c5232f4 /nova/virt | |
| parent | ef306fe4c342cf5e54b4512e46b67c80fbb414ab (diff) | |
| parent | 25f50d9aa5000248959073fd47814f05efea3a3e (diff) | |
Merge "Update list_instances to catch libvirtError."
Diffstat (limited to 'nova/virt')
| -rw-r--r-- | nova/virt/libvirt/driver.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/virt/libvirt/driver.py b/nova/virt/libvirt/driver.py index c19896171..7c7ed9543 100644 --- a/nova/virt/libvirt/driver.py +++ b/nova/virt/libvirt/driver.py @@ -416,7 +416,7 @@ class LibvirtDriver(driver.ComputeDriver): if domain_id != 0: domain = self._conn.lookupByID(domain_id) names.append(domain.name()) - except exception.InstanceNotFound: + except libvirt.libvirtError: # Instance was deleted while listing... ignore it pass return names |
