summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2009-02-20 15:12:40 +0100
committerRené 'Necoro' Neumann <necoro@necoro.net>2009-02-20 15:12:40 +0100
commit62ae679d9d152018d844d4d7945fbe6234b695fa (patch)
treeace7c8774417600a728d0e2e6525c01f0c289ab3
parentd68f3b26ad1e21b42677a0536af7390edbd5c476 (diff)
downloadportato-62ae679d9d152018d844d4d7945fbe6234b695fa.tar.gz
portato-62ae679d9d152018d844d4d7945fbe6234b695fa.tar.bz2
portato-62ae679d9d152018d844d4d7945fbe6234b695fa.zip
In case the portdirs.db is not existing yet -- well - regenerate everything ;)
Diffstat (limited to '')
-rw-r--r--portato/db/sql.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/portato/db/sql.py b/portato/db/sql.py
index bee8a4a..66da0f3 100644
--- a/portato/db/sql.py
+++ b/portato/db/sql.py
@@ -135,6 +135,7 @@ class SQLDatabase (Database):
db[key] = hashes[key]
else:
debug("portdirs.db not existant")
+ changed = True
for key in hashes.iterkeys():
db[key] = hashes[key]