Update
svn: r5578
This commit is contained in:
parent
a4e6bd186f
commit
82c1553035
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user