diff options
author | Cole Robinson <crobinso@redhat.com> | 2014-03-06 12:04:08 -0500 |
---|---|---|
committer | Cole Robinson <crobinso@redhat.com> | 2014-03-06 12:04:08 -0500 |
commit | df7012a68b6a13a676e2019523f6863617a110d8 (patch) | |
tree | 8c6832660ce210b028e960e867f323ad0a850ed4 /virtManager | |
parent | 9074fc6c6080cf650cf97457dda799700ee2b635 (diff) | |
download | virt-manager-df7012a68b6a13a676e2019523f6863617a110d8.tar.gz |
Handle libvirt generating invalid volume XML (bz 1072770)
Diffstat (limited to 'virtManager')
-rw-r--r-- | virtManager/connection.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/virtManager/connection.py b/virtManager/connection.py index 96dfa1c9..57e143d7 100644 --- a/virtManager/connection.py +++ b/virtManager/connection.py @@ -179,7 +179,7 @@ class vmmConnection(vmmGObject): for vol in pool.get_volumes(refresh=False).values(): try: ret.append(vol.get_xmlobj(refresh_if_nec=False)) - except libvirt.libvirtError, e: + except Exception, e: logging.debug("Fetching volume XML failed: %s", e) return ret self._backend.cb_fetch_all_vols = fetch_all_vols |