summaryrefslogtreecommitdiff
path: root/libvirt-override-virConnect.py
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2013-11-26 16:56:09 +0000
committerDaniel P. Berrange <berrange@redhat.com>2013-11-27 11:07:24 +0000
commitd05f1059928bffcfd878bfeea34f2008e90e8054 (patch)
treeb59c2e7007df8b738924369f693d5e3422e4f277 /libvirt-override-virConnect.py
parentedb16fd5c11b136e0cedb1688436eca29859622f (diff)
downloadlibvirt-python-d05f1059928bffcfd878bfeea34f2008e90e8054.tar.gz
Make block pull event dispatcher private
The method dispatchDomainEventBlockPullCallback which is used internally to dispatch block pull events to the python application code was missing the leading '_', to denote that it was private. All other event callback helpers have a leading '_'. No application should have been using this so it is justifiable to rename it. Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'libvirt-override-virConnect.py')
-rw-r--r--libvirt-override-virConnect.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvirt-override-virConnect.py b/libvirt-override-virConnect.py
index 4ba3d30..23fadfd 100644
--- a/libvirt-override-virConnect.py
+++ b/libvirt-override-virConnect.py
@@ -113,7 +113,7 @@
authScheme, subject, opaque)
return 0
- def dispatchDomainEventBlockPullCallback(self, dom, path, type, status, cbData):
+ def _dispatchDomainEventBlockPullCallback(self, dom, path, type, status, cbData):
"""Dispatches events to python user domain blockJob event callbacks
"""
try: