summaryrefslogtreecommitdiff
path: root/python/rpmte-py.c
diff options
context:
space:
mode:
authorFlorian Festi <ffesti@redhat.com>2009-03-16 17:02:16 +0100
committerFlorian Festi <ffesti@redhat.com>2009-03-26 12:15:27 +0100
commit3e37044eb970fc0f30942e744fb7558f4f23f528 (patch)
treeaeb516f0915ef8bfc80c5597e171f010fbab595c /python/rpmte-py.c
parent85a84fdae728138c2c526b010417ffc72c382e06 (diff)
downloadrpm-3e37044eb970fc0f30942e744fb7558f4f23f528.tar.gz
Make rpmal store rpmtes and kill rpmte->pkgKey
Diffstat (limited to 'python/rpmte-py.c')
-rw-r--r--python/rpmte-py.c15
1 files changed, 4 insertions, 11 deletions
diff --git a/python/rpmte-py.c b/python/rpmte-py.c
index b7427f916..75d1cb197 100644
--- a/python/rpmte-py.c
+++ b/python/rpmte-py.c
@@ -149,18 +149,13 @@ rpmte_Tree(rpmteObject * s)
{
return Py_BuildValue("i", rpmteTree(s->te));
}
-
-static PyObject *
-rpmte_AddedKey(rpmteObject * s)
-{
- return Py_BuildValue("i", rpmteAddedKey(s->te));
-}
-
+/*
static PyObject *
rpmte_DependsOnKey(rpmteObject * s)
{
return Py_BuildValue("i", rpmteDependsOnKey(s->te));
}
+*/
static PyObject *
rpmte_DBOffset(rpmteObject * s)
@@ -267,10 +262,8 @@ static struct PyMethodDef rpmte_methods[] = {
NULL},
{"Tree", (PyCFunction)rpmte_Tree, METH_NOARGS,
NULL},
- {"AddedKey",(PyCFunction)rpmte_AddedKey, METH_NOARGS,
- NULL},
- {"DependsOnKey",(PyCFunction)rpmte_DependsOnKey, METH_NOARGS,
- NULL},
+/* {"DependsOnKey",(PyCFunction)rpmte_DependsOnKey, METH_NOARGS,
+ NULL}, */
{"DBOffset",(PyCFunction)rpmte_DBOffset, METH_NOARGS,
NULL},
{"Key", (PyCFunction)rpmte_Key, METH_NOARGS,