* src/GrampsBSDDB.py (upgrade): Disable upgrade_7 until this is properly working to not accidently destroy a database from gramps20

svn: r4875
This commit is contained in:
Martin Hawlisch 2005-06-24 22:00:03 +00:00
parent 9e39e88d2b
commit 91681e6aa7
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2005-06-24 Martin Hawlisch <Martin.Hawlisch@gmx.de>
* src/GrampsBSDDB.py (upgrade): Disable upgrade_7 until this is
properly working to not accidently destroy a database from gramps20
2005-06-20 Don Allingham <don@gramps-project.org>
* src/GenericFilter.py: optimize looping and reducing fetches
* src/Utils.py: fix event handle accesses

View File

@ -516,10 +516,12 @@ class GrampsBSDDB(GrampsDbBase):
self.upgrade_5()
if version < 6:
self.upgrade_6()
if version < 7:
self.upgrade_7()
self.metadata['version'] = _DBVERSION
print 'Successfully finished all upgrades'
if version < 7:
#self.upgrade_7()
raise Exception("Currently there is no database upgrade available")
else:
print 'Successfully finished all upgrades'
def upgrade_2(self,child_rel_notrans):
print "Upgrading to DB version 2"