diff --git a/pisi/db/componentdb.py b/pisi/db/componentdb.py index 41221479..a190b700 100644 --- a/pisi/db/componentdb.py +++ b/pisi/db/componentdb.py @@ -66,9 +66,9 @@ class ComponentDB(lazydb.LazyDB): return self.cdb.get_item_keys(repo) def search_component(self, terms, lang=None, repo=None): - rename = '.*?%s.*?' - resum = '.*?%s.*?' - redesc = '.*?%s.*?' + rename = '.*?%s.*?' + resum = '.*?%s.*?' + redesc = '.*?%s.*?' if not lang: lang = pisi.pxml.autoxml.LocalText.get_lang() diff --git a/pisi/db/installdb.py b/pisi/db/installdb.py index 722a1a80..a6ba13b1 100644 --- a/pisi/db/installdb.py +++ b/pisi/db/installdb.py @@ -130,8 +130,8 @@ class InstallDB(lazydb.LazyDB): return filter(lambda x: x.type == 'config', files.list) def search_package(self, terms, lang=None): - resum = '.*?%s.*?' - redesc = '.*?%s.*?' + resum = '.*?%s.*?' + redesc = '.*?%s.*?' if not lang: lang = pisi.pxml.autoxml.LocalText.get_lang() found = [] diff --git a/pisi/db/sourcedb.py b/pisi/db/sourcedb.py index 50fe7b97..d2d9aaf3 100644 --- a/pisi/db/sourcedb.py +++ b/pisi/db/sourcedb.py @@ -81,8 +81,8 @@ class SourceDB(lazydb.LazyDB): return spec def search_spec(self, terms, lang=None, repo=None): - resum = '.*?%s.*?' - redesc = '.*?%s.*?' + resum = '.*?%s.*?' + redesc = '.*?%s.*?' if not lang: lang = pisi.pxml.autoxml.LocalText.get_lang() found = []