[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[libvirt] [PATCH] Fix generating python bindings
- From: Cole Robinson <crobinso redhat com>
- To: Libvirt <libvir-list redhat com>
- Subject: [libvirt] [PATCH] Fix generating python bindings
- Date: Thu, 12 Feb 2009 14:37:46 -0500
The recent API additions virSaveLastError and virFreeError upset the
python bindings generator. Add a rule to explicitly skip them for the
bindings, since (as far as I can tell) the libvirtError class provides
everything we need.
Thanks,
Cole
diff --git a/python/generator.py b/python/generator.py
index 9c71c05..0e8cca7 100755
--- a/python/generator.py
+++ b/python/generator.py
@@ -344,6 +344,8 @@ skip_function = (
'virDefaultErrorFunc', # Python virErrorFuncHandler impl calls this from C
'virConnectDomainEventRegister', # overridden in virConnect.py
'virConnectDomainEventDeregister', # overridden in virConnect.py
+ 'virSaveLastError', # We have our own python error wrapper
+ 'virFreeError', # Only needed if we use virSaveLastError
)
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]