summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCole Robinson <crobinso@redhat.com>2014-03-20 13:57:24 -0400
committerCole Robinson <crobinso@redhat.com>2014-03-20 13:57:24 -0400
commit097a479e91389cedabe1ee55173f081f8f8a991b (patch)
tree0b7ac35f21d8e15c30ae9ee8ecdb0cead0e19696
parent33e39093caabf7e367efba0f7f6585acc8120812 (diff)
downloadlibvirt-python-097a479e91389cedabe1ee55173f081f8f8a991b.tar.gz
override: Return NULL on python failure in getCPUModelNames
Eric pointed this out on the last patch, but I pushed it before noticing his message.
-rw-r--r--libvirt-override.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvirt-override.c b/libvirt-override.c
index 71e241e..2532400 100644
--- a/libvirt-override.c
+++ b/libvirt-override.c
@@ -2350,7 +2350,7 @@ done:
error:
Py_XDECREF(rv);
- rv = VIR_PY_NONE;
+ rv = NULL;
goto done;
}
#endif /* LIBVIR_CHECK_VERSION(1, 1, 3) */