summaryrefslogtreecommitdiff
path: root/python/rpmmi-py.c
diff options
context:
space:
mode:
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 e02389180..1d06b5ed9 100644
--- a/python/rpmmi-py.c
+++ b/python/rpmmi-py.c
@@ -93,7 +93,7 @@ rpmmi_Instance(rpmmiObject * s)
static PyObject *
rpmmi_Count(rpmmiObject * s)
{
- DEPRECATED_METHOD;
+ DEPRECATED_METHOD("use len(mi) instead");
return Py_BuildValue("i", PyMapping_Size((PyObject *)s));
}