From 3b314e41247bfd4e3eae6ca801cdd388df31de16 Mon Sep 17 00:00:00 2001 From: Doug Goldstein Date: Tue, 26 Nov 2013 12:54:59 -0600 Subject: Call virGetLastError from mod rather than py wrapper 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(-) (limited to 'libvirt-override.py') 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: -- cgit v1.2.1