[entropy.db] EntropyRepository: fix bogus implementation of searchKeySlot

This commit is contained in:
Fabio Erculiani
2010-08-16 19:29:26 +02:00
parent 59d499df6f
commit 16ef7d892e
2 changed files with 2 additions and 2 deletions
@@ -1711,7 +1711,7 @@ class MatchMixin:
if not results:
return 1
installed_idpackage = results[0][0]
installed_idpackage = results[0]
pkgver, pkgtag, pkgrev = dbconn.getVersioningData(package_match[0])
installed_ver, installed_tag, installed_rev = \
self._installed_repository.getVersioningData(installed_idpackage)
+1 -1
View File
@@ -3656,7 +3656,7 @@ class EntropyRepository(EntropyRepositoryBase):
baseinfo.name = (?) AND
baseinfo.slot = (?)""", (cat, name, slot,))
return cur.fetchall()
return self._cur2list(cur)
def searchNeeded(self, needed, elfclass = -1, like = False):
"""