[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [libvirt] PATCH: 24/25: Update python error reporting
- From: "Richard W.M. Jones" <rjones redhat com>
- To: "Daniel P. Berrange" <berrange redhat com>
- Cc: libvir-list redhat com
- Subject: Re: [libvirt] PATCH: 24/25: Update python error reporting
- Date: Fri, 16 Jan 2009 12:26:28 +0000
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]