mirror of
https://gitlab.com/libvirt/libvirt-python.git
synced 2025-12-10 16:23:50 +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()
|
||||
|
||||
def __init__(self, impl, cb, opaque, *args, **kwargs):
|
||||
super().__init__(*args, **kwargs)
|
||||
def __init__(self, impl, cb, opaque):
|
||||
self.iden = next(self._iden_counter)
|
||||
self.impl = impl
|
||||
self.cb = cb
|
||||
|
||||
Reference in New Issue
Block a user