summaryrefslogtreecommitdiff
path: root/python/rpmmodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'python/rpmmodule.c')
-rw-r--r--python/rpmmodule.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/rpmmodule.c b/python/rpmmodule.c
index 16e68c4bd..57241d314 100644
--- a/python/rpmmodule.c
+++ b/python/rpmmodule.c
@@ -1591,8 +1591,9 @@ static PyObject * rpmtransRun(rpmtransObject * s, PyObject * args) {
cbInfo.pythonError = 0;
(void) rpmtsSetNotifyCallback(s->ts, tsCallback, (void *) &cbInfo);
+ (void) rpmtsSetFlags(s->ts, flags);
- rc = rpmRunTransactions(s->ts, NULL, &probs, flags, ignoreSet);
+ rc = rpmRunTransactions(s->ts, NULL, &probs, ignoreSet);
if (cbInfo.pythonError) {
if (rc > 0)