diff options
author | Doug Goldstein <cardoe@cardoe.com> | 2013-11-26 12:54:59 -0600 |
---|---|---|
committer | Doug Goldstein <cardoe@cardoe.com> | 2013-11-26 12:54:59 -0600 |
commit | 3b314e41247bfd4e3eae6ca801cdd388df31de16 (patch) | |
tree | 6d0f7a02626b6cfa6d27cac0cf25512d378a7d97 /libvirt-override.py | |
parent | 8dd64f07ea2c4c53b51a5170f0a3db0c53a094da (diff) | |
download | libvirt-python-3b314e41247bfd4e3eae6ca801cdd388df31de16.tar.gz |
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.
Diffstat (limited to 'libvirt-override.py')
-rw-r--r-- | libvirt-override.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: |