summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2009-02-09 13:26:28 +0100
committerRené 'Necoro' Neumann <necoro@necoro.net>2009-02-09 13:26:28 +0100
commiteab7389888eb97ddcdf174acce717f45157ed079 (patch)
tree29dc9cb25fe62ea8e1c5f5f26263ee56d960e824
parentcffc4dbc7529d761600bcaf5fbc63bdb308b3194 (diff)
downloadportato-eab7389888eb97ddcdf174acce717f45157ed079.tar.gz
portato-eab7389888eb97ddcdf174acce717f45157ed079.tar.bz2
portato-eab7389888eb97ddcdf174acce717f45157ed079.zip
SQLDatabase.populate needs a regexp
-rw-r--r--portato/db/sql.py2
1 files changed, 1 insertions, 1 deletions
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()