From a10dff341437aee591e9baf4eb9e0f0b75fbc133 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 --- ChangeLog | 3 +++ src/GrampsBSDDB.py | 2 ++ 2 files changed, 5 insertions(+) diff --git a/ChangeLog b/ChangeLog index b4f8ed4a8..3dd73580a 100644 --- a/ChangeLog +++ b/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/src/GrampsBSDDB.py b/src/GrampsBSDDB.py index b44562086..e0e86937d 100644 --- a/src/GrampsBSDDB.py +++ b/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: