summaryrefslogtreecommitdiff
path: root/portato/db/eix_sql.py
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2009-09-05 21:01:59 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2009-09-05 21:01:59 +0200
commitc9ffb9d6d68161f1063adbaecb9c1db925745c2e (patch)
treee79be540401887c79ee7306758b6ead780e4b939 /portato/db/eix_sql.py
parent15f4e7e94c5d04ff7c0a10cfdb8026fc70862aa8 (diff)
downloadportato-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.py4
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))