* src/ReportUtils.py (born_died_str): Find events to reference.

svn: r4061
This commit is contained in:
Alex Roitman 2005-02-19 23:43:45 +00:00
parent 4f3211bb19
commit baff1f7030
2 changed files with 5 additions and 0 deletions

View File

@ -29,6 +29,8 @@
* src/PaperMenu.py (GrampsPaperComboBox.set): Compare paper names. * src/PaperMenu.py (GrampsPaperComboBox.set): Compare paper names.
* src/ReportUtils.py (born_died_str): Find events to reference.
2005-02-18 Don Allingham <dallingham@users.sourceforge.net> 2005-02-18 Don Allingham <dallingham@users.sourceforge.net>
* src/EditPerson.py: more readonly patches * src/EditPerson.py: more readonly patches
* src/EventEdit.py: more readonly patches * src/EventEdit.py: more readonly patches

View File

@ -476,6 +476,9 @@ def born_died_str(database,person,endnotes=None,name_object=None,person_name=Non
bdate,bplace,bdate_full,ddate,dplace,ddate_full = \ bdate,bplace,bdate_full,ddate,dplace,ddate_full = \
get_birth_death_strings(database,person) get_birth_death_strings(database,person)
birth = database.get_event_from_handle(person.get_birth_handle())
death = database.get_event_from_handle(person.get_death_handle())
if person.get_gender() == RelLib.Person.MALE: if person.get_gender() == RelLib.Person.MALE:
if bdate: if bdate:
if bplace: if bplace: