summaryrefslogtreecommitdiff
path: root/python/rpmmodule.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2009-10-05 16:42:52 +0300
committerPanu Matilainen <pmatilai@redhat.com>2009-10-05 16:42:52 +0300
commit3d1169fe698910fc62dd1893c861963dedea2945 (patch)
tree5040b4e7f80c004c8f9f30f664a539dab2b4ecda /python/rpmmodule.c
parent0cddef5a4a2b279d0da39c765312cc2deaa7de07 (diff)
downloadlibrpm-tizen-3d1169fe698910fc62dd1893c861963dedea2945.tar.gz
librpm-tizen-3d1169fe698910fc62dd1893c861963dedea2945.tar.bz2
librpm-tizen-3d1169fe698910fc62dd1893c861963dedea2945.zip
Handle all rpmds variants in its constructor
- either it takes a header + tag, or (name, flags, version) tuple + tag to generate a single dep - push rpm.dsSingle() compatibility out to python side - hdr.dsFromHeader() and hdr.dsOfHeader() no longer need to be in rpmds-py.c
Diffstat (limited to 'python/rpmmodule.c')
-rw-r--r--python/rpmmodule.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/python/rpmmodule.c b/python/rpmmodule.c
index 65de3b0fc..96b395d7d 100644
--- a/python/rpmmodule.c
+++ b/python/rpmmodule.c
@@ -158,9 +158,6 @@ static PyMethodDef rpmModuleMethods[] = {
{ "setStats", (PyCFunction) setStats, METH_VARARGS|METH_KEYWORDS,
NULL },
- { "dsSingle", (PyCFunction) rpmds_Single, METH_VARARGS|METH_KEYWORDS,
-"rpm.dsSingle(TagN, N, [EVR, [Flags]] -> ds\n\
-- Create a single element dependency set.\n" },
{ NULL }
} ;