diff --git a/ChangeLog b/ChangeLog index df0d4fff0..5c682ca6d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2006-02-01 Alex Roitman + * src/GrampsDb/_GrampsBSDDB.py (_find_from_handle): Revert the + change, as it does not seem to bring any speedup. + 2006-01-31 Alex Roitman * src/GrampsDb/_GrampsDbBase.py (find_next_*_gramps_id): check whether the key exists, do not read. diff --git a/src/GrampsDb/_GrampsBSDDB.py b/src/GrampsDb/_GrampsBSDDB.py index 43ac7f43e..17aab0334 100644 --- a/src/GrampsDb/_GrampsBSDDB.py +++ b/src/GrampsDb/_GrampsBSDDB.py @@ -960,7 +960,7 @@ class GrampsBSDDB(GrampsDbBase): def _find_from_handle(self,handle,transaction,class_type,dmap,add_func): obj = class_type() handle = str(handle) - if dmap.db.has_key(handle): + if dmap.has_key(handle): data = dmap.get(handle,txn=self.txn) obj.unserialize(data) else: