From f4be03b330125ab1e5a2bb10b4f12674aeff4691 Mon Sep 17 00:00:00 2001 From: Philipp Hahn Date: Mon, 20 Apr 2020 10:30:52 +0200 Subject: [PATCH] libvirtaio: Drop object(*args, **kwargs) object.__init__() does not expect those parameters. Signed-off-by: Philipp Hahn --- libvirtaio.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libvirtaio.py b/libvirtaio.py index 7a50c9d..0f74209 100644 --- a/libvirtaio.py +++ b/libvirtaio.py @@ -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