From abbd6781c189ae88aab687eef6f3b694cc242202 Mon Sep 17 00:00:00 2001 From: Zsolt Foldvari Date: Sat, 5 Apr 2008 22:02:59 +0000 Subject: [PATCH] Reverting change from r10429, because metadata is now always set after DB creation. svn: r10486 --- src/gen/db/dbdir.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gen/db/dbdir.py b/src/gen/db/dbdir.py index 6a0d07b65..832eed19d 100644 --- a/src/gen/db/dbdir.py +++ b/src/gen/db/dbdir.py @@ -428,7 +428,7 @@ class GrampsDBDir(GrampsDbBase, UpdateCallback): def version_supported(self): try: - dbversion = self.metadata.get('version', default=_DBVERSION) + dbversion = self.metadata.get('version', default=0) return ((dbversion <= _DBVERSION) and (dbversion >= _MINVERSION)) except DBERRS, msg: self.__log_error()