On Wed, Oct 25, 2006 at 07:25:23PM +0100, Daniel P. Berrange wrote:
The current python bindings throw a generic libvirtError exception
object
whose message merely consists of the name of the method which failed. This
isn't really all that useful to the caller, since they know exactly which
method failed - its the one they just called! The attached patch adds a
binding for virConGetLastError & virGetLastError & pulls this info into
the libvirtError object being thrown.
Right, that's a nice improvement. I wonder why I didn't add the
bindings for the error function since the exception class was defined.
Maybe I stopped in the middle :-\
thanks !
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/