From e1305b8c1dfb9913b3bd29b442dc54335b1546cb Mon Sep 17 00:00:00 2001 From: Faik Uygur Date: Tue, 30 Jun 2009 13:41:46 +0000 Subject: [PATCH] search problem with double quote.. is this python 2.6 related... dont know --- pisi/db/installdb.py | 4 ++-- pisi/db/packagedb.py | 4 ++-- pisi/db/sourcedb.py | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pisi/db/installdb.py b/pisi/db/installdb.py index 244fc035..583cf65c 100644 --- a/pisi/db/installdb.py +++ b/pisi/db/installdb.py @@ -145,8 +145,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/packagedb.py b/pisi/db/packagedb.py index a3662d9e..0d9e3063 100644 --- a/pisi/db/packagedb.py +++ b/pisi/db/packagedb.py @@ -85,8 +85,8 @@ class PackageDB(lazydb.LazyDB): return pkg def search_package(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 = [] diff --git a/pisi/db/sourcedb.py b/pisi/db/sourcedb.py index 627e8968..f68b87a1 100644 --- a/pisi/db/sourcedb.py +++ b/pisi/db/sourcedb.py @@ -83,8 +83,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 = []