Skip to content

Commit

Permalink
edited a comment - improve explanation behind code operation
Browse files Browse the repository at this point in the history
  • Loading branch information
CameronD73 authored Dec 26, 2024
1 parent f37990d commit 02d5e76
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions gramps/gen/utils/alive.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,9 @@ def get_person_bd(class_or_handle):
# whether or not a date was found.
# If we have no death_date then look for fallback event such as Burial.
# These fallbacks are fairly good indications that someone's not alive.
# If that date itself is not valid, it means we know they are dead
# but not when they died. So keep checking in case we get a date.
# If the fallback death event does not have a valid date then it means
# we know they are dead but not when they died.
# So keep checking in case we get a date.
if not death_date:
for ev_ref in thisperson.get_primary_event_ref_list():
if ev_ref:
Expand Down

0 comments on commit 02d5e76

Please sign in to comment.