summaryrefslogtreecommitdiff
path: root/libvirtaio.py
diff options
context:
space:
mode:
authorPhilipp Hahn <hahn@univention.de>2020-04-20 10:30:52 +0200
committerPhilipp Hahn <hahn@univention.de>2020-08-06 08:50:37 +0200
commitf4be03b330125ab1e5a2bb10b4f12674aeff4691 (patch)
tree5b0a625ceb3da1e48504df747711eb152c849aa8 /libvirtaio.py
parent429973c836e58e790f2fc36ee24c99a2fc2937ad (diff)
downloadlibvirt-python-f4be03b330125ab1e5a2bb10b4f12674aeff4691.tar.gz
libvirtaio: Drop object(*args, **kwargs)
object.__init__() does not expect those parameters. Signed-off-by: Philipp Hahn <hahn@univention.de>
Diffstat (limited to 'libvirtaio.py')
-rw-r--r--libvirtaio.py3
1 files changed, 1 insertions, 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