summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--python/rpm/transaction.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/rpm/transaction.py b/python/rpm/transaction.py
index 0e4272dd6..153206f60 100644
--- a/python/rpm/transaction.py
+++ b/python/rpm/transaction.py
@@ -117,7 +117,7 @@ class TransactionSet(_rpmts):
n, v, r = nevr.rsplit('-', 2)
# extract the dependency information
- needs = p._str.split()[1:]
+ needs = p._str.split()
needname = needs[0]
needflags = rpm.RPMSENSE_ANY
if len(needs) == 3: