summaryrefslogtreecommitdiffstats
path: root/rpmmodule
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>1999-09-18 20:56:37 +0000
committerMatt Wilson <msw@redhat.com>1999-09-18 20:56:37 +0000
commit707f33fd0b9a90b39034da464e61ec7ee3f4ba10 (patch)
treebe91c2f9f38df404b4aef29daf479170efcd72a1 /rpmmodule
parent75c33dc252247cfba8405f469c823797e3219c56 (diff)
downloadanaconda-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.c3
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;