diff options
author | Cole Robinson <crobinso@redhat.com> | 2011-06-15 20:14:45 -0400 |
---|---|---|
committer | Cole Robinson <crobinso@redhat.com> | 2011-06-21 10:08:48 -0400 |
commit | 68ef6c759aa25ce0d78bb83734b27fac18f20e6c (patch) | |
tree | c6f6f54c9b73b2aa82fdc890704c14c99119ef27 /libvirt-override.py | |
parent | 12d8d49559c2c4616357dd1d99cd7bcd39646033 (diff) | |
download | libvirt-python-v6-68ef6c759aa25ce0d78bb83734b27fac18f20e6c.tar.gz libvirt-python-v6-68ef6c759aa25ce0d78bb83734b27fac18f20e6c.tar.xz libvirt-python-v6-68ef6c759aa25ce0d78bb83734b27fac18f20e6c.zip |
python: Mark event callback wrappers as private
These functions aren't intended to be called directly by users, so mark
them as private.
While we're at it, remove unneeded exception handling, and break some
long lines.
Diffstat (limited to 'libvirt-override.py')
-rw-r--r-- | libvirt-override.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libvirt-override.py b/libvirt-override.py index 8df9dc1..98241d6 100644 --- a/libvirt-override.py +++ b/libvirt-override.py @@ -117,7 +117,7 @@ def getVersion (name = None): # # Invoke an EventHandle callback # -def eventInvokeHandleCallback(watch, fd, event, opaque, opaquecompat=None): +def _eventInvokeHandleCallback(watch, fd, event, opaque, opaquecompat=None): """ Invoke the Event Impl Handle Callback in C """ @@ -137,7 +137,7 @@ def eventInvokeHandleCallback(watch, fd, event, opaque, opaquecompat=None): # # Invoke an EventTimeout callback # -def eventInvokeTimeoutCallback(timer, opaque, opaquecompat=None): +def _eventInvokeTimeoutCallback(timer, opaque, opaquecompat=None): """ Invoke the Event Impl Timeout Callback in C """ |