[libvirt] PATCH: 24/25: Update python error reporting

Richard W.M. Jones rjones at redhat.com
Fri Jan 16 12:26:28 UTC 2009


On Tue, Jan 13, 2009 at 05:48:40PM +0000, Daniel P. Berrange wrote:
> The virGetLastError() method is now stored in a thread local
> and virConnGetLastError() is deprecated, so switch to only
> use the former. Also, no need to copy the error object since
> it is thread local already thus guarenteed not to change behind
> our backs
> 
>  libvir.c  |   44 ++++++++++++++++++++++----------------------
>  libvir.py |    7 +++----
>  2 files changed, 25 insertions(+), 26 deletions(-)

Simple, +1.

Rich.

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://et.redhat.com/~rjones/virt-df/




More information about the libvir-list mailing list