From 86dd5ec402e9983394172c098b9b70790f570e3e Mon Sep 17 00:00:00 2001 From: Faik Uygur Date: Mon, 29 Dec 2008 13:10:36 +0000 Subject: [PATCH] change here too, for fallback to en --- pisi/db/componentdb.py | 6 +++--- pisi/db/installdb.py | 4 ++-- pisi/db/sourcedb.py | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) 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 = []