summaryrefslogtreecommitdiff
path: root/python/rpmdb-py.c
diff options
context:
space:
mode:
Diffstat (limited to 'python/rpmdb-py.c')
-rw-r--r--python/rpmdb-py.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/rpmdb-py.c b/python/rpmdb-py.c
index 25fdd008e..60637d85a 100644
--- a/python/rpmdb-py.c
+++ b/python/rpmdb-py.c
@@ -126,7 +126,7 @@ rpmdb_Match (rpmdbObject * s, PyObject * args, PyObject * kwds)
return NULL;
}
- return rpmmi_Wrap( rpmdbInitIterator(s->db, tag, key, len) );
+ return rpmmi_Wrap( rpmdbInitIterator(s->db, tag, key, len), (PyObject *)s);
}
/**