Commit 283351d9 authored by Anael Beutot's avatar Anael Beutot
Browse files

Fix hypervisor handler initialization

parent 10eba87d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -54,6 +54,7 @@ class Handler(HostHandler):
        :param hypervisor_name: hypervisor name
        """
        self.hypervisor_name = kwargs.pop('hypervisor_name')
        self._virt_connected = False
        HostHandler.__init__(self, *args, **kwargs)

        #: keep index of asynchronous calls
@@ -61,7 +62,6 @@ class Handler(HostHandler):

        self.timer = self.main.evloop.timer(.0, 5., self.virt_connect_cb)
        self.hypervisor = None
        self._virt_connected = False
        # list of libvirt related RPC handlers
        self.virt_handlers = get_rpc_handlers(self, libvirt_handler_marker)