diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2010-06-22 14:51:31 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2010-06-22 14:51:31 +0300 |
commit | 3aac9445db6672809324f31feac004dbe9b7f311 (patch) | |
tree | 5562f0d5bfd287262257f063393a5b27d06fc06e | |
parent | 6012c56c0bbf6af828d42cedc0b6e325f03efd7d (diff) | |
download | librpm-tizen-3aac9445db6672809324f31feac004dbe9b7f311.tar.gz librpm-tizen-3aac9445db6672809324f31feac004dbe9b7f311.tar.bz2 librpm-tizen-3aac9445db6672809324f31feac004dbe9b7f311.zip |
Fix python ts.check() dependency tuple munging
- braindamage from commit fab2debfe440d677dbd072c3cd73d2c99876e7a5,
causing list index out of range for any non-versioned dependency
and bogus garbage for the rest, doh...
-rw-r--r-- | python/rpm/transaction.py | 2 |
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: |