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:
Panu Matilainen 2010-06-22 14:51:31 +03:00
parent 6012c56c0b
commit 3aac9445db
1 changed files with 1 additions and 1 deletions

View File

@ -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: