* src/GrampsBSDDB.py: display upgrade messages to stdout
svn: r4125
This commit is contained in:
parent
17dcd45d3c
commit
a10dff3414
@ -1,3 +1,6 @@
|
||||
2005-03-06 Don Allingham <don@gramps-project.org>
|
||||
* src/GrampsBSDDB.py: display upgrade messages to stdout
|
||||
|
||||
2005-03-06 Don Allingham <dallingham@users.sourceforge.net>
|
||||
* src/GrampsBSDDB.py: add upgrade to version 3 for new Name type
|
||||
* src/NameEdit.py: add date editor field
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user