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

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

 



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(-)

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:
-- 
1.8.3.2

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