1
0
mirror of https://gitlab.com/libvirt/libvirt-python.git synced 2025-07-15 20:59:34 +03:00

libvirtaio: Fix return type

libvirtaio.py:364: error: "virEventInvokeFreeCallback" does not return a value

Signed-off-by: Philipp Hahn <hahn@univention.de>
This commit is contained in:
Philipp Hahn
2020-04-20 11:51:48 +02:00
parent f4be03b330
commit 12d631d11a

View File

@ -317,9 +317,8 @@ class virEventAsyncIOImpl(object):
This is a coroutine.
'''
self.log.debug('ff_callback(iden=%d, opaque=...)', iden)
ret = libvirt.virEventInvokeFreeCallback(opaque)
libvirt.virEventInvokeFreeCallback(opaque)
self._pending_dec()
return ret
@asyncio.coroutine
def drain(self):