1
0
mirror of https://gitlab.com/libvirt/libvirt-python.git synced 2025-12-11 20:24:04 +03:00

libvirtaio: Drop object(*args, **kwargs)

object.__init__() does not expect those parameters.

Signed-off-by: Philipp Hahn <hahn@univention.de>
This commit is contained in:
Philipp Hahn
2020-04-20 10:30:52 +02:00
parent 429973c836
commit f4be03b330

View File

@@ -63,8 +63,7 @@ class Callback(object):
_iden_counter = itertools.count() _iden_counter = itertools.count()
def __init__(self, impl, cb, opaque, *args, **kwargs): def __init__(self, impl, cb, opaque):
super().__init__(*args, **kwargs)
self.iden = next(self._iden_counter) self.iden = next(self._iden_counter)
self.impl = impl self.impl = impl
self.cb = cb self.cb = cb