summaryrefslogtreecommitdiff
path: root/python/rpmmodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'python/rpmmodule.c')
-rw-r--r--python/rpmmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/rpmmodule.c b/python/rpmmodule.c
index 8f031d791..b4b63f551 100644
--- a/python/rpmmodule.c
+++ b/python/rpmmodule.c
@@ -1343,7 +1343,7 @@ static PyObject * rpmtransRemove(rpmtransObject * s, PyObject * args) {
while ((h = rpmdbNextIterator(mi)) != NULL) {
unsigned int recOffset = rpmdbGetIteratorOffset(mi);
if (recOffset) {
- rpmtransRemovePackage(s->ts, recOffset);
+ rpmtransRemovePackage(s->ts, h, recOffset);
}
}
}