From 5975d9cf4eed225c280ac4d20cf15647ae724a8d Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Sun, 18 Dec 2005 01:29:54 +0000 Subject: [PATCH] Update svn: r5578 --- gramps2/src/GrampsBSDDB.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gramps2/src/GrampsBSDDB.py b/gramps2/src/GrampsBSDDB.py index 4861ef94d..a9639ad0d 100644 --- a/gramps2/src/GrampsBSDDB.py +++ b/gramps2/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"