[libvirt] [PATCH] python: Actually add virConnectGetVersion to generated bindings

Cole Robinson crobinso at redhat.com
Wed Feb 17 20:57:29 UTC 2010


The recent commit to implement a python version of this function
didn't drop an explicit 'ignore' check in the generator, so this
never ended up in the bindings.

Signed-off-by: Cole Robinson <crobinso at redhat.com>
---
 python/generator.py |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/python/generator.py b/python/generator.py
index 37c0169..24eaf50 100755
--- a/python/generator.py
+++ b/python/generator.py
@@ -319,7 +319,6 @@ skip_function = (
     'virConnectListDomains', # Python API is called virConectListDomainsID for unknown reasons
     'virConnSetErrorFunc', # Not used in Python API  XXX is this a bug ?
     'virResetError', # Not used in Python API  XXX is this a bug ?
-    'virConnectGetVersion', # Not used in Python API  XXX is this a bug ?
     'virGetVersion', # Python C code is manually written
     'virSetErrorFunc', # Python API is called virRegisterErrorHandler for unknown reasons
     'virConnCopyLastError', # Python API is called virConnGetLastError instead
-- 
1.6.5.2




More information about the libvir-list mailing list