On Tue, Mar 13, 2007 at 06:38:56PM +0900, Tatsuro Enokura wrote:
Hi,
When I used the lookupByName() function of libvirt.py, it failed with
the following error messages.
[...]
The lookupByName() function is the same name for domain and for
network in libvirt.py. The lookupByUUIDstring() function is similar.
I think that generator of libvirt.py's function is incorrect.
Whoops ! That's nasty, I would have expected python to complain in case
of double declaration of a method with same number of arguments, especially
with a different content.
I fixed the generator so that the virNetworkLookup... functions are now
mapped as networkLookup... methods, that should fix the problem !
thanks for raising this, I commited the fix in CVS,
Daniel
--
Red Hat Virtualization group
http://redhat.com/virtualization/
Daniel Veillard | virtualization library
http://libvirt.org/
veillard(a)redhat.com | libxml GNOME XML XSLT toolkit
http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine
http://rpmfind.net/