1
0
mirror of https://gitlab.com/libvirt/libvirt-python.git synced 2025-07-18 04:59:33 +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. This is a coroutine.
''' '''
self.log.debug('ff_callback(iden=%d, opaque=...)', iden) self.log.debug('ff_callback(iden=%d, opaque=...)', iden)
ret = libvirt.virEventInvokeFreeCallback(opaque) libvirt.virEventInvokeFreeCallback(opaque)
self._pending_dec() self._pending_dec()
return ret
@asyncio.coroutine @asyncio.coroutine
def drain(self): def drain(self):