From 980f6b90fe2ad4b4ec95d13bb6472bb949b215b1 Mon Sep 17 00:00:00 2001 From: René 'Necoro' Neumann Date: Mon, 2 Mar 2009 21:49:22 +0100 Subject: Fixed interactive search with category names --- portato/db/dict.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'portato/db/dict.py') diff --git a/portato/db/dict.py b/portato/db/dict.py index f6edea6..4992df6 100644 --- a/portato/db/dict.py +++ b/portato/db/dict.py @@ -86,7 +86,7 @@ class DictDatabase (Database): try: if self.restrict: - return (pkg for pkg in get_pkgs() if self.restrict.search(pkg.pkg))#if pkg[1].find(self.restrict) != -1) + return (pkg for pkg in get_pkgs() if self.restrict.search(pkg.cat+"/"+pkg.pkg)) else: return get_pkgs() -- cgit v1.2.3-70-g09d2