From 44c64eac09cc2bc9fa19e9d3fe5cde2005266d7c Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Mon, 7 Mar 2005 04:57:22 +0000 Subject: [PATCH] * src/GrampsBSDDB.py: display upgrade messages to stdout svn: r4125 --- gramps2/ChangeLog | 3 +++ gramps2/src/GrampsBSDDB.py | 2 ++ 2 files changed, 5 insertions(+) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index b4f8ed4a8..3dd73580a 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,6 @@ +2005-03-06 Don Allingham + * src/GrampsBSDDB.py: display upgrade messages to stdout + 2005-03-06 Don Allingham * src/GrampsBSDDB.py: add upgrade to version 3 for new Name type * src/NameEdit.py: add date editor field diff --git a/gramps2/src/GrampsBSDDB.py b/gramps2/src/GrampsBSDDB.py index b44562086..e0e86937d 100644 --- a/gramps2/src/GrampsBSDDB.py +++ b/gramps2/src/GrampsBSDDB.py @@ -367,6 +367,7 @@ class GrampsBSDDB(GrampsDbBase): version = self.metadata['version'] if version < 2: + print "Upgrading to DB version 2" cursor = self.get_person_cursor() data = cursor.first() while data: @@ -391,6 +392,7 @@ class GrampsBSDDB(GrampsDbBase): data = cursor.next() cursor.close() if version < 3: + print "Upgrading to DB version 3" cursor = self.get_person_cursor() data = cursor.first() while data: