On 08/29/2013 05:02 AM, Guan Qiang wrote: > From: Guan Qiang <hzguanqiang@xxxxxxxxxxxxxxxx> > > Fix PyList usage mistake in Function libvirt_lxc_virDomainLxcOpenNamespace. > > https://bugzilla.redhat.com/show_bug.cgi?id=1002383 > --- > python/libvirt-lxc-override.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/python/libvirt-lxc-override.c b/python/libvirt-lxc-override.c > index 73685df..fa7e963 100644 > --- a/python/libvirt-lxc-override.c > +++ b/python/libvirt-lxc-override.c > @@ -80,7 +80,7 @@ libvirt_lxc_virDomainLxcOpenNamespace(PyObject *self ATTRIBUTE_UNUSED, > if (c_retval < 0) > return VIR_PY_NONE; > > - py_retval = PyList_New(c_retval); > + py_retval = PyList_New(0); ACK and pushed. Congrats on your first libvirt patch. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
Attachment:
signature.asc
Description: OpenPGP digital signature
-- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list