diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2009-09-05 21:01:59 +0200 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2009-09-05 21:01:59 +0200 |
commit | c9ffb9d6d68161f1063adbaecb9c1db925745c2e (patch) | |
tree | e79be540401887c79ee7306758b6ead780e4b939 /portato/db/eix_sql.py | |
parent | 15f4e7e94c5d04ff7c0a10cfdb8026fc70862aa8 (diff) | |
download | portato-c9ffb9d6d68161f1063adbaecb9c1db925745c2e.tar.gz portato-c9ffb9d6d68161f1063adbaecb9c1db925745c2e.tar.bz2 portato-c9ffb9d6d68161f1063adbaecb9c1db925745c2e.zip |
Fix an error, where a category vanishes after refreshing, using the EixSQLDatabase
Diffstat (limited to '')
-rw-r--r-- | portato/db/eix_sql.py | 4 |
1 files changed, 4 insertions, 0 deletions
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)) |