Subject: connection: Fix sending net-removed signal From: Cole Robinson crobinso@redhat.com Thu May 7 12:30:28 2015 -0400 Date: Thu May 7 12:30:28 2015 -0400: Git: 88e18c86d36406b3dab032b2bb21b46767871b4b Index: virt-manager-1.2.0/virtManager/connection.py =================================================================== --- virt-manager-1.2.0.orig/virtManager/connection.py +++ virt-manager-1.2.0/virtManager/connection.py @@ -961,13 +961,17 @@ class vmmConnection(vmmGObject): for obj in gone_objects: class_name = obj.class_name() + try: + name = obj.get_name() + except: + name = str(obj) if not self._objects.remove(obj): logging.debug("Requested removal of %s=%s, but it's " - "not in our object list.", class_name, obj.get_name()) + "not in our object list.", class_name, name) continue - logging.debug("%s=%s removed", class_name, obj.get_name()) + logging.debug("%s=%s removed", class_name, name) if class_name == "domain": self.emit("vm-removed", obj.get_connkey()) elif class_name == "network":