1
0
mirror of https://gitlab.com/libvirt/libvirt-python.git synced 2025-08-03 08:21:58 +03:00

* python/libvir.c: call the initialize entry point

* src/libvirt_sym.version: add initialize entry point
* src/libvirt.c: make sure we always initialize the lib
* python/tests/*.py: start updating exemple for exception
  handling as pointed by Jim Meyering
Daniel
This commit is contained in:
Daniel Veillard
2006-03-28 14:41:04 +00:00
parent 86dda3bcc7
commit 1027aa871c
4 changed files with 19 additions and 7 deletions

View File

@ -269,6 +269,8 @@ initlibvirtmod(void)
if (initialized != 0)
return;
virInitialize();
/* intialize the python extension module */
Py_InitModule((char *) "libvirtmod", libvirtMethods);