summaryrefslogtreecommitdiff
path: root/python/rpmmi-py.c
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2010-03-19 20:09:15 +0200
committerPanu Matilainen <pmatilai@redhat.com>2010-03-24 10:37:22 +0200
commite50e3d14e5149f5c7b30c8a0208e7e8bd80ee24a (patch)
tree0c735751177f3668af4cb8b7d3b84408277d13c4 /python/rpmmi-py.c
parentbacfca16c388c03c0bb4affbddcb712c408b7fa9 (diff)
downloadlibrpm-tizen-e50e3d14e5149f5c7b30c8a0208e7e8bd80ee24a.tar.gz
librpm-tizen-e50e3d14e5149f5c7b30c8a0208e7e8bd80ee24a.tar.bz2
librpm-tizen-e50e3d14e5149f5c7b30c8a0208e7e8bd80ee24a.zip
Document deprecation of mi.count() and ds.Count().
Diffstat (limited to 'python/rpmmi-py.c')
-rw-r--r--python/rpmmi-py.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/rpmmi-py.c b/python/rpmmi-py.c
index b7bfb1b5d..528767151 100644
--- a/python/rpmmi-py.c
+++ b/python/rpmmi-py.c
@@ -118,7 +118,7 @@ static struct PyMethodDef rpmmi_methods[] = {
{"instance", (PyCFunction) rpmmi_Instance, METH_NOARGS,
NULL },
{"count", (PyCFunction) rpmmi_Count, METH_NOARGS,
- NULL },
+"Deprecated, use len(mi) instead.\n" },
{"pattern", (PyCFunction) rpmmi_Pattern, METH_VARARGS|METH_KEYWORDS,
"mi.pattern(TagN, mire_type, pattern)\n\
- Set a secondary match pattern on tags from retrieved header.\n" },