Interesting. There was one more of this in here.
This commit is contained in:
-10
@@ -339,16 +339,6 @@ def search_source(terms, lang=None, repo=None):
|
||||
sourcedb = pisi.db.sourcedb.SourceDB()
|
||||
return sourcedb.search_spec(terms, lang, repo)
|
||||
|
||||
def search_installed(terms, lang=None):
|
||||
"""
|
||||
Return a list of components that contains all the given terms either in its name, summary or
|
||||
description -> list_of_strings
|
||||
@param terms: a list of terms used to search components -> list_of_strings
|
||||
@param lang: language of the summary and description
|
||||
"""
|
||||
installdb = pisi.db.installdb.InstallDB()
|
||||
return installdb.search_package(terms, lang)
|
||||
|
||||
def search_component(terms, lang=None, repo=None):
|
||||
"""
|
||||
Return a list of components that contains all the given terms either in its name, summary or
|
||||
|
||||
Reference in New Issue
Block a user