[entropy.db] EntropyRepository: fix bogus implementation of searchKeySlot
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user