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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user