summaryrefslogtreecommitdiffstats
path: root/virConnect.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 /virConnect.py
parent4d481373b26166c04f89c5e6ddd566dc895d7d20 (diff)
downloadlibvirt-python-v6-d46de7156795fa41646e3f8f31cc0e75a6febc8a.tar.gz
libvirt-python-v6-d46de7156795fa41646e3f8f31cc0e75a6febc8a.tar.xz
libvirt-python-v6-d46de7156795fa41646e3f8f31cc0e75a6febc8a.zip
Fix python bindings events code (David Lively)
Diffstat (limited to 'virConnect.py')
-rw-r--r--virConnect.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/virConnect.py b/virConnect.py
index ec29b33..1fdf548 100644
--- a/virConnect.py
+++ b/virConnect.py
@@ -32,12 +32,12 @@
ret = libvirtmod.virConnectDomainEventRegister(self._o, self)
if ret == -1: raise libvirtError ('virConnectDomainEventRegister() failed', conn=self)
- def dispatchDomainEventCallbacks(self, dom, event):
+ def dispatchDomainEventCallbacks(self, dom, event, detail):
"""Dispatches events to python user domain event callbacks
"""
try:
for cb,opaque in self.domainEventCallbacks.items():
- cb(self,dom,event,opaque)
+ cb(self,dom,event,detail,opaque)
return 0
except AttributeError:
pass