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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]