summaryrefslogtreecommitdiffstats
path: root/libvir.py
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2008-11-24 19:28:12 +0000
committerDaniel P. Berrange <berrange@redhat.com>2008-11-24 19:28:12 +0000
commitd46de7156795fa41646e3f8f31cc0e75a6febc8a (patch)
treea04e49b8ad7df23ee1af7d2cc00969284fcb0698 /libvir.py
parent4d481373b26166c04f89c5e6ddd566dc895d7d20 (diff)
downloadlibvirt-python-split-d46de7156795fa41646e3f8f31cc0e75a6febc8a.tar.gz
libvirt-python-split-d46de7156795fa41646e3f8f31cc0e75a6febc8a.tar.xz
libvirt-python-split-d46de7156795fa41646e3f8f31cc0e75a6febc8a.zip
Fix python bindings events code (David Lively)
Diffstat (limited to 'libvir.py')
-rw-r--r--libvir.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/libvir.py b/libvir.py
index 86bf422..b90f795 100644
--- a/libvir.py
+++ b/libvir.py
@@ -126,11 +126,11 @@ def getVersion (name = None):
#
# Invoke an EventHandle callback
#
-def eventInvokeHandleCallback (fd, event, callback, opaque):
+def eventInvokeHandleCallback (watch, fd, event, callback, opaque):
"""
Invoke the Event Impl Handle Callback in C
"""
- libvirtmod.virEventInvokeHandleCallback(fd, event, callback, opaque);
+ libvirtmod.virEventInvokeHandleCallback(watch, fd, event, callback, opaque);
#
# Invoke an EventTimeout callback