summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2010-03-29 15:03:14 +0300
committerPanu Matilainen <pmatilai@redhat.com>2010-03-29 15:03:14 +0300
commit593902eee642912245ed669e265c07dbd51ccb45 (patch)
tree6407d104672cc882c7618bd693781504e0175bb1 /python
parente18d9e68260aacde0d1fe1f0fdddb008357262fe (diff)
downloadrpm-593902eee642912245ed669e265c07dbd51ccb45.tar.gz
Remove unused dependency set file reference count
- this has never been used for anything at all, there are better things to use our memory for than unused arrays
Diffstat (limited to 'python')
-rw-r--r--python/rpmds-py.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/python/rpmds-py.c b/python/rpmds-py.c
index 069519daa..771cd06c2 100644
--- a/python/rpmds-py.c
+++ b/python/rpmds-py.c
@@ -66,12 +66,6 @@ rpmds_Color(rpmdsObject * s)
}
static PyObject *
-rpmds_Refs(rpmdsObject * s)
-{
- return Py_BuildValue("i", rpmdsRefs(s->ds));
-}
-
-static PyObject *
rpmds_iternext(rpmdsObject * s)
{
PyObject * result = NULL;
@@ -205,8 +199,6 @@ static struct PyMethodDef rpmds_methods[] = {
"ds.TagN -> TagN - Return current TagN.\n" },
{"Color", (PyCFunction)rpmds_Color, METH_NOARGS,
"ds.Color -> Color - Return current Color.\n" },
- {"Refs", (PyCFunction)rpmds_Refs, METH_NOARGS,
- "ds.Refs -> Refs - Return current Refs.\n" },
{"SetNoPromote",(PyCFunction)rpmds_SetNoPromote, METH_VARARGS|METH_KEYWORDS,
NULL},
{"Notify", (PyCFunction)rpmds_Notify, METH_VARARGS|METH_KEYWORDS,