diff --git a/ChangeLog b/ChangeLog index 04013e3b5..5b4046d59 100644 --- a/ChangeLog +++ b/ChangeLog @@ -8,6 +8,7 @@ 2007-06-24 Alex Roitman * 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 diff --git a/src/GrampsDb/_GrampsBSDDB.py b/src/GrampsDb/_GrampsBSDDB.py index 25c9e49ad..4813d38a0 100644 --- a/src/GrampsDb/_GrampsBSDDB.py +++ b/src/GrampsDb/_GrampsBSDDB.py @@ -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):