From eab7389888eb97ddcdf174acce717f45157ed079 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= Date: Mon, 9 Feb 2009 13:26:28 +0100 Subject: SQLDatabase.populate needs a regexp --- portato/db/sql.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'portato/db') diff --git a/portato/db/sql.py b/portato/db/sql.py index cac5c97..b46374e 100644 --- a/portato/db/sql.py +++ b/portato/db/sql.py @@ -211,7 +211,7 @@ class SQLDatabase (Database): 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