(version_supported): Default to the current version.
svn: r8655
This commit is contained in:
parent
ef570f2d69
commit
0f68a84452
@ -8,6 +8,7 @@
|
||||
|
||||
2007-06-24 Alex Roitman <shura@gramps-project.org>
|
||||
* src/GrampsDb/_GrampsBSDDB.py (load): Typo.
|
||||
(version_supported): Default to the current version.
|
||||
* src/DbLoader.py (read_file): Fix error reporting.
|
||||
|
||||
2007-06-23 Alex Roitman <shura@gramps-project.org>
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# Gramps - a GTK+/GNOME based genealogy program
|
||||
#
|
||||
# Copyright (C) 2000-2006 Donald N. Allingham
|
||||
# Copyright (C) 2000-2007 Donald N. Allingham
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@ -310,8 +310,7 @@ class GrampsBSDDB(GrampsDbBase,UpdateCallback):
|
||||
self.metadata.sync()
|
||||
|
||||
def version_supported(self):
|
||||
dbversion = self.metadata.get('version',default=0)
|
||||
print dbversion
|
||||
dbversion = self.metadata.get('version',default=_DBVERSION)
|
||||
return ((dbversion <= _DBVERSION) and (dbversion >= _MINVERSION))
|
||||
|
||||
def need_upgrade(self):
|
||||
|
Loading…
Reference in New Issue
Block a user