From 0c355567e4423550c9ff9a7c7b95f95345bd3fbf Mon Sep 17 00:00:00 2001 From: Faik Uygur Date: Fri, 19 Jun 2009 07:03:45 +0000 Subject: [PATCH] Interesting. There was one more of this in here. --- pisi/api.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/pisi/api.py b/pisi/api.py index f7ae2731..fb7b134b 100644 --- a/pisi/api.py +++ b/pisi/api.py @@ -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