Fix #0001991: supported database versions checked properly.

svn: r10417
This commit is contained in:
Zsolt Foldvari 2008-03-29 19:59:33 +00:00
parent 366790e53e
commit 1c2ec7559b

View File

@ -488,7 +488,7 @@ class GrampsDBDir(GrampsDbBase, UpdateCallback):
# If we cannot work with this DB version, # If we cannot work with this DB version,
# it makes no sense to go further # it makes no sense to go further
if not self.version_supported: if not self.version_supported():
self.__close_early() self.__close_early()
self.family_map = self.__open_table(self.full_name, FAMILY_TBL) self.family_map = self.__open_table(self.full_name, FAMILY_TBL)