[Libvir] [PATCH 3/3] Python cygvirtmod.dll -> libvirtmod.dll
David Mueller
dsm717 at gmail.com
Fri Nov 30 03:41:18 UTC 2007
Daniel Veillard wrote:
> hum, I think it would also require a change to the python C file
> to rename the entry point too, otherwise a simple
> try:
> import libvirtmod
> except:
> import cygvirtmod
>
> might have done it.
I would use
try:
import libvirtmod
except:
import cygvirtmod as libvirtmod
as this avoids namespace problems with the rest of the code in the file.
- David
More information about the libvir-list
mailing list