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

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



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/


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