diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2008-11-25 10:44:52 +0000 |
---|---|---|
committer | Daniel P. Berrange <berrange@redhat.com> | 2008-11-25 10:44:52 +0000 |
commit | 3385b9fde5918b119edeed12927e78f2b5900d89 (patch) | |
tree | f60f036a6b11c81cf04cda6269c43fddd0ae8e98 /libvir.c | |
parent | d46de7156795fa41646e3f8f31cc0e75a6febc8a (diff) | |
download | libvirt-python-v6-LIBVIRT_0_5_1.tar.gz libvirt-python-v6-LIBVIRT_0_5_1.tar.xz libvirt-python-v6-LIBVIRT_0_5_1.zip |
Support domain lifecycle events for Xen (Ben Guthro & Daniel Berrange)v0.5.1v0.5.0LIBVIRT_0_5_1LIBVIRT_0_5_0
Diffstat (limited to 'libvir.c')
-rw-r--r-- | libvir.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1577,7 +1577,8 @@ getLibvirtModuleObject (void) { return libvirt_module; // PyImport_ImportModule returns a new reference - libvirt_module = PyImport_ImportModule("libvirt"); + /* Bogus (char *) cast for RHEL-5 python API brokenness */ + libvirt_module = PyImport_ImportModule((char *)"libvirt"); if(!libvirt_module) { #if DEBUG_ERROR printf("%s Error importing libvirt module\n", __FUNCTION__); |