Fix python ts.check() dependency tuple munging
- braindamage from commit fab2debfe4
,
causing list index out of range for any non-versioned dependency
and bogus garbage for the rest, doh...
This commit is contained in:
parent
6012c56c0b
commit
3aac9445db
|
@ -117,7 +117,7 @@ class TransactionSet(_rpmts):
|
||||||
n, v, r = nevr.rsplit('-', 2)
|
n, v, r = nevr.rsplit('-', 2)
|
||||||
|
|
||||||
# extract the dependency information
|
# extract the dependency information
|
||||||
needs = p._str.split()[1:]
|
needs = p._str.split()
|
||||||
needname = needs[0]
|
needname = needs[0]
|
||||||
needflags = rpm.RPMSENSE_ANY
|
needflags = rpm.RPMSENSE_ANY
|
||||||
if len(needs) == 3:
|
if len(needs) == 3:
|
||||||
|
|
Loading…
Reference in New Issue