summaryrefslogtreecommitdiff
path: root/python/rpmds-py.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2010-03-29 14:53:10 +0300
committerPanu Matilainen <pmatilai@redhat.com>2010-03-29 14:53:10 +0300
commite18d9e68260aacde0d1fe1f0fdddb008357262fe (patch)
tree0957841023a5716d5fc99a1a9ecbcbe66498638e /python/rpmds-py.c
parent6ba22ca0d9f9de9ee358111f457bdbe323e263b9 (diff)
downloadrpm-e18d9e68260aacde0d1fe1f0fdddb008357262fe.tar.gz
rpm-e18d9e68260aacde0d1fe1f0fdddb008357262fe.tar.bz2
rpm-e18d9e68260aacde0d1fe1f0fdddb008357262fe.zip
Remove unused and non-sensible depedency set build-time
- Buildtime was never part of rpm version comparison nor should it be, on rpm level the only sensible differentiator between two identical dependencies is the dependency color if any. Other than that, random() just as "appropriate" as build time.
Diffstat (limited to 'python/rpmds-py.c')
-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 0e98d33fc..069519daa 100644
--- a/python/rpmds-py.c
+++ b/python/rpmds-py.c
@@ -54,12 +54,6 @@ rpmds_Flags(rpmdsObject * s)
}
static PyObject *
-rpmds_BT(rpmdsObject * s)
-{
- return Py_BuildValue("i", (int) rpmdsBT(s->ds));
-}
-
-static PyObject *
rpmds_TagN(rpmdsObject * s)
{
return Py_BuildValue("i", rpmdsTagN(s->ds));
@@ -207,8 +201,6 @@ static struct PyMethodDef rpmds_methods[] = {
"ds.EVR -> EVR - Return current EVR.\n" },
{"Flags", (PyCFunction)rpmds_Flags, METH_NOARGS,
"ds.Flags -> Flags - Return current Flags.\n" },
- {"BT", (PyCFunction)rpmds_BT, METH_NOARGS,
- "ds.BT -> BT - Return build time.\n" },
{"TagN", (PyCFunction)rpmds_TagN, METH_NOARGS,
"ds.TagN -> TagN - Return current TagN.\n" },
{"Color", (PyCFunction)rpmds_Color, METH_NOARGS,