mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-03-09 08:58:27 +03:00
libvirtobject: Don't raise error during init_libvirt_state
The connection doesn't handle it. If it ever needs to know we can have it return a value or something.
This commit is contained in:
parent
a2d453f3e2
commit
05db555145
@ -187,9 +187,12 @@ class vmmLibvirtObject(vmmGObject):
|
||||
|
||||
try:
|
||||
self._init_libvirt_state()
|
||||
finally:
|
||||
self.__initialized = True
|
||||
self.idle_emit("initialized")
|
||||
except:
|
||||
logging.debug("Error initializing libvirt state for %s", self,
|
||||
exc_info=True)
|
||||
|
||||
self.__initialized = True
|
||||
self.idle_emit("initialized")
|
||||
|
||||
|
||||
###################
|
||||
|
Loading…
x
Reference in New Issue
Block a user