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

--
Libvir-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to