From c6c24c59ac57e1151e025f6a3d8c79bdc9d66ae7 Mon Sep 17 00:00:00 2001 From: Cole Robinson Date: Mon, 12 Mar 2018 15:57:36 -0400 Subject: [PATCH] connection: Remove unused argument --- virtManager/connection.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/virtManager/connection.py b/virtManager/connection.py index 6ea1b595f..e0a2aec38 100644 --- a/virtManager/connection.py +++ b/virtManager/connection.py @@ -1168,7 +1168,7 @@ class vmmConnection(vmmGObject): self.emit("nodedev-removed", obj.get_connkey()) obj.cleanup() - def _new_object_cb(self, obj, initialize_failed, skip_init=False): + def _new_object_cb(self, obj, initialize_failed): if not self._backend.is_open(): return @@ -1206,7 +1206,7 @@ class vmmConnection(vmmGObject): elif class_name == "nodedev": self.emit("nodedev-added", obj.get_connkey()) finally: - if self._init_object_event and not skip_init: + if self._init_object_event: self._init_object_count -= 1 if self._init_object_count <= 0: self._init_object_event.set()