diff options
author | Daniel Veillard <veillard@redhat.com> | 2006-03-28 14:41:04 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@redhat.com> | 2006-03-28 14:41:04 +0000 |
commit | 1027aa871cf478a54d77088199da8caabacbe3a0 (patch) | |
tree | efdb320396183d0cb7fd81f38e2f3ca110cef1f7 /libvir.c | |
parent | 86dda3bcc733bd0cbb1b0c50417d677fe9ad2a98 (diff) | |
download | libvirt-python-v6-1027aa871cf478a54d77088199da8caabacbe3a0.tar.gz libvirt-python-v6-1027aa871cf478a54d77088199da8caabacbe3a0.tar.xz libvirt-python-v6-1027aa871cf478a54d77088199da8caabacbe3a0.zip |
* 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
Diffstat (limited to 'libvir.c')
-rw-r--r-- | libvir.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -269,6 +269,8 @@ initlibvirtmod(void) if (initialized != 0) return; + virInitialize(); + /* intialize the python extension module */ Py_InitModule((char *) "libvirtmod", libvirtMethods); |