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 = []