diff options
author | Matt Wilson <msw@redhat.com> | 1999-09-18 20:56:37 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 1999-09-18 20:56:37 +0000 |
commit | 707f33fd0b9a90b39034da464e61ec7ee3f4ba10 (patch) | |
tree | be91c2f9f38df404b4aef29daf479170efcd72a1 /rpmmodule | |
parent | 75c33dc252247cfba8405f469c823797e3219c56 (diff) | |
download | anaconda-707f33fd0b9a90b39034da464e61ec7ee3f4ba10.tar.gz anaconda-707f33fd0b9a90b39034da464e61ec7ee3f4ba10.tar.xz anaconda-707f33fd0b9a90b39034da464e61ec7ee3f4ba10.zip |
return an empty list when there are no problems
Diffstat (limited to 'rpmmodule')
-rw-r--r-- | rpmmodule/rpmmodule.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rpmmodule/rpmmodule.c b/rpmmodule/rpmmodule.c index a0e1f789b..b45ac3acb 100644 --- a/rpmmodule/rpmmodule.c +++ b/rpmmodule/rpmmodule.c @@ -1406,7 +1406,8 @@ static PyObject * rpmtransRun(rpmtransObject * s, PyObject * args) { } if (rc < 0) { - return Py_BuildValue("i", rc); + list = PyList_New(0); + return list; } else if (!rc) { Py_INCREF(Py_None); return Py_None; |