From 1027aa871cf478a54d77088199da8caabacbe3a0 Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Tue, 28 Mar 2006 14:41:04 +0000 Subject: * 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 --- libvir.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libvir.c') diff --git a/libvir.c b/libvir.c index 47da369..1d97037 100644 --- a/libvir.c +++ b/libvir.c @@ -269,6 +269,8 @@ initlibvirtmod(void) if (initialized != 0) return; + virInitialize(); + /* intialize the python extension module */ Py_InitModule((char *) "libvirtmod", libvirtMethods); -- cgit