From 82c1553035ee8e2f8a82eecc2205e75166a140cf Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Sun, 18 Dec 2005 01:29:54 +0000 Subject: [PATCH] Update svn: r5578 --- src/GrampsBSDDB.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/GrampsBSDDB.py b/src/GrampsBSDDB.py index 4861ef94d..a9639ad0d 100644 --- a/src/GrampsBSDDB.py +++ b/src/GrampsBSDDB.py @@ -918,6 +918,7 @@ class GrampsBSDDB(GrampsDbBase): "Sponsored", "Foster", "Unknown", "Other", ] version = self.metadata.get('version',_MINVERSION) + print version if version < 6: self.gramps_upgrade_6() @@ -929,6 +930,9 @@ class GrampsBSDDB(GrampsDbBase): self.gramps_upgrade_9() self.metadata['version'] = _DBVERSION + print "set version to %d" % _DBVERSION + print "actual version now is %d" % self.metadata['version'] + self.metadata.sync() def gramps_upgrade_6(self): print "Upgrading to DB version 6"