virGetLastError comes from the libvirtmod namespace
[libvirt.git] / virgetlasterror.patch
diff --git a/virgetlasterror.patch b/virgetlasterror.patch
new file mode 100644 (file)
index 0000000..9109d58
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/python/libvirt-override.py       2013-04-13 09:47:03.000000000 +0200
++++ b/python/libvirt-override.py       2013-04-13 09:49:07.000000000 +0200
+@@ -20,7 +20,7 @@
+         # Never call virConnGetLastError().
+         # virGetLastError() is now thread local
+-        err = virGetLastError()
++        err = libvirtmod.virGetLastError()
+         if err is None:
+             msg = defmsg
+         else: