From bc41d3c03f0ba278e08bc0d828d769148fc617c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= Date: Mon, 9 Feb 2009 13:24:18 +0100 Subject: SQLDatabase.populate needs a regexp --- portato/gui/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'portato/gui/utils.py') diff --git a/portato/gui/utils.py b/portato/gui/utils.py index 213c6ce..a779329 100644 --- a/portato/gui/utils.py +++ b/portato/gui/utils.py @@ -542,7 +542,7 @@ class SQLDatabase (object): if cat: connection.execute("DELETE FROM packages WHERE cat = ?", (cat,)) connection.commit() - self.populate(cat+"/", connection = connection) + self.populate(cat+"/*", connection = connection) else: connection.execute("DELETE FROM packages") connection.commit() -- cgit v1.2.3