summaryrefslogtreecommitdiff
path: root/portato
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2009-02-09 13:24:18 +0100
committerRené 'Necoro' Neumann <necoro@necoro.net>2009-02-09 13:24:18 +0100
commitbc41d3c03f0ba278e08bc0d828d769148fc617c1 (patch)
treebefd848f757226c145ca41e6a9b4df6f547f9c90 /portato
parent4e8514ada1f3095c142e3a72eaaa325f5aca031f (diff)
downloadportato-bc41d3c03f0ba278e08bc0d828d769148fc617c1.tar.gz
portato-bc41d3c03f0ba278e08bc0d828d769148fc617c1.tar.bz2
portato-bc41d3c03f0ba278e08bc0d828d769148fc617c1.zip
SQLDatabase.populate needs a regexp
Diffstat (limited to '')
-rw-r--r--portato/gui/utils.py2
1 files changed, 1 insertions, 1 deletions
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()