mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06: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:
@@ -269,6 +269,8 @@ initlibvirtmod(void)
|
||||
if (initialized != 0)
|
||||
return;
|
||||
|
||||
virInitialize();
|
||||
|
||||
/* intialize the python extension module */
|
||||
Py_InitModule((char *) "libvirtmod", libvirtMethods);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user