Interesting. There was one more of this in here.

This commit is contained in:
Faik Uygur
2009-06-19 07:03:45 +00:00
parent f8dbbf61af
commit 0c355567e4
-10
View File
@@ -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