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:
@ -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):
|
||||||
|
Reference in New Issue
Block a user