diff options
author | Florian Festi <ffesti@redhat.com> | 2009-03-16 17:02:16 +0100 |
---|---|---|
committer | Florian Festi <ffesti@redhat.com> | 2009-03-26 12:15:27 +0100 |
commit | 3e37044eb970fc0f30942e744fb7558f4f23f528 (patch) | |
tree | aeb516f0915ef8bfc80c5597e171f010fbab595c /python/rpmte-py.c | |
parent | 85a84fdae728138c2c526b010417ffc72c382e06 (diff) | |
download | rpm-3e37044eb970fc0f30942e744fb7558f4f23f528.tar.gz |
Make rpmal store rpmtes and kill rpmte->pkgKey
Diffstat (limited to 'python/rpmte-py.c')
-rw-r--r-- | python/rpmte-py.c | 15 |
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, |