Re: [libvirt-python] Call virGetLastError from mod rather than py wrapper

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

 



On 11/26/2013 12:00 PM, Doug Goldstein wrote:
> All other code always calls the methods from the mod rather than using
> the python wrapper so this matches the state of all other callers.
> ---
>  libvirt-override.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

ACK

> 
> diff --git a/libvirt-override.py b/libvirt-override.py
> index ccfec48..87996f8 100644
> --- a/libvirt-override.py
> +++ b/libvirt-override.py
> @@ -20,7 +20,7 @@ class libvirtError(Exception):
>  
>          # Never call virConnGetLastError().
>          # virGetLastError() is now thread local
> -        err = virGetLastError()
> +        err = libvirtmod.virGetLastError()
>          if err is None:
>              msg = defmsg
>          else:
> 

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
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]