Skip to content

Commit

Permalink
Fixes Bug #0013433 - allow ancestor_too_old() tests to be done
Browse files Browse the repository at this point in the history
Previous code did not clear the self.pset list between running descendant test and ancestor test, so  ancestor test code assumed all persons had already been checked.
This bug and fix is easier to evaluate if patch for bug #13431 has been applied - to improve debug output.
  • Loading branch information
CameronD73 committed Sep 13, 2024
1 parent 6442fa3 commit 8cf3991
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gramps/gen/utils/alive.py
Original file line number Diff line number Diff line change
Expand Up @@ -615,6 +615,7 @@ def ancestors_too_old(person, year):

return (None, None, "", None)

self.pset = set()
try:
# If there are ancestors that would be too old in the current year
# then assume our person must be dead too.
Expand Down

0 comments on commit 8cf3991

Please sign in to comment.