From c9ffb9d6d68161f1063adbaecb9c1db925745c2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= Date: Sat, 5 Sep 2009 21:01:59 +0200 Subject: Fix an error, where a category vanishes after refreshing, using the EixSQLDatabase --- portato/db/eix_sql.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'portato/db/eix_sql.py') diff --git a/portato/db/eix_sql.py b/portato/db/eix_sql.py index 3a0c6e9..c2d2292 100644 --- a/portato/db/eix_sql.py +++ b/portato/db/eix_sql.py @@ -49,6 +49,10 @@ class EixSQLDatabase (SQLDatabase): return old < mtime + def generate_cat_expr (self, cat): + # be a noop + return cat + @SQLDatabase.con def populate (self, category = None, connection = None): inst = set(system.find_packages(pkgSet = system.SET_INSTALLED, key = category, with_version = False)) -- cgit v1.2.3