33 lines
1.0 KiB
Diff
33 lines
1.0 KiB
Diff
|
|
From f0c158cbc8a50a776b44de2c0fe744c451155a41 Mon Sep 17 00:00:00 2001
|
||
|
|
From: Panu Matilainen <pmatilai@redhat.com>
|
||
|
|
Date: Tue, 4 Jan 2022 15:57:10 +0200
|
||
|
|
Subject: [PATCH] Fix old Python ts.check() argument order regression
|
||
|
|
|
||
|
|
Commit fab2debfe440d677dbd072c3cd73d2c99876e7a5 managed to mess up the
|
||
|
|
order of the last two callback arguments, doh.
|
||
|
|
|
||
|
|
Goes to show that nobody has missed this stuff in 12+ years, so it might
|
||
|
|
be more merciful to put this thing out of its misery...
|
||
|
|
|
||
|
|
Fixes: #1871
|
||
|
|
---
|
||
|
|
python/rpm/transaction.py | 2 +-
|
||
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
|
||
|
|
diff --git a/python/rpm/transaction.py b/python/rpm/transaction.py
|
||
|
|
index 991fd9a..ba39881 100644
|
||
|
|
--- a/python/rpm/transaction.py
|
||
|
|
+++ b/python/rpm/transaction.py
|
||
|
|
@@ -159,7 +159,7 @@ class TransactionSet(TransactionSetCore):
|
||
|
|
needver = ""
|
||
|
|
|
||
|
|
res.append(((n, v, r),
|
||
|
|
- (needname, needver), needflags, sense, p.key))
|
||
|
|
+ (needname, needver), needflags, p.key, sense))
|
||
|
|
|
||
|
|
return res
|
||
|
|
|
||
|
|
--
|
||
|
|
1.8.3.1
|
||
|
|
|