summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2011-06-09 14:25:37 +0300
committerPanu Matilainen <pmatilai@redhat.com>2011-06-09 14:25:37 +0300
commit9c5eab023a12f21a01fbe11e089c7eb8e9285a89 (patch)
tree93ce770fe417c3f4f7a35a9e1b3257862dd35d3c /python
parent62bcf28ca442a77ec90a4fd13cf1280b4ab4d713 (diff)
downloadlibrpm-tizen-9c5eab023a12f21a01fbe11e089c7eb8e9285a89.tar.gz
librpm-tizen-9c5eab023a12f21a01fbe11e089c7eb8e9285a89.tar.bz2
librpm-tizen-9c5eab023a12f21a01fbe11e089c7eb8e9285a89.zip
Eww, python ds.Instance() doesn't take any arguments
- ...means its been broken all along, sigh
Diffstat (limited to 'python')
-rw-r--r--python/rpmds-py.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/rpmds-py.c b/python/rpmds-py.c
index ebccc72c2..30fb908fb 100644
--- a/python/rpmds-py.c
+++ b/python/rpmds-py.c
@@ -214,7 +214,7 @@ The current index in ds is positioned at overlapping member upon success.\n" },
"ds.Rpmlib -> nds - Return internal rpmlib dependency set.\n"},
{"Compare", (PyCFunction)rpmds_Compare, METH_O,
NULL},
- {"Instance", (PyCFunction)rpmds_Instance, METH_O,
+ {"Instance", (PyCFunction)rpmds_Instance, METH_NOARGS,
NULL},
{NULL, NULL} /* sentinel */
};