* src/plugins/DescendReport.py: fix get_valid_year
svn: r3678
This commit is contained in:
parent
939d74f25d
commit
d1f8dd361c
@ -1,3 +1,6 @@
|
|||||||
|
2004-10-26 Don Allingham <dallingham@users.sourceforge.net>
|
||||||
|
* src/plugins/DescendReport.py: fix get_valid_year
|
||||||
|
|
||||||
2004-10-25 Don Allingham <dallingham@users.sourceforge.net>
|
2004-10-25 Don Allingham <dallingham@users.sourceforge.net>
|
||||||
* src/StartupDialog.py: handle delete event
|
* src/StartupDialog.py: handle delete event
|
||||||
* src/docgen/HtmlDoc.py: fix typo
|
* src/docgen/HtmlDoc.py: fix typo
|
||||||
|
@ -79,14 +79,14 @@ class DescendantReport:
|
|||||||
def dump_dates(self, person):
|
def dump_dates(self, person):
|
||||||
birth_handle = person.get_birth_handle()
|
birth_handle = person.get_birth_handle()
|
||||||
if birth_handle:
|
if birth_handle:
|
||||||
birth = self.database.get_event_from_handle(birth_handle).get_date_object().get_start_date()
|
birth = self.database.get_event_from_handle(birth_handle).get_date_object()
|
||||||
birth_year_valid = birth.get_year_valid()
|
birth_year_valid = birth.get_year_valid()
|
||||||
else:
|
else:
|
||||||
birth_year_valid = 0
|
birth_year_valid = 0
|
||||||
|
|
||||||
death_handle = person.get_death_handle()
|
death_handle = person.get_death_handle()
|
||||||
if death_handle:
|
if death_handle:
|
||||||
death = self.database.get_event_from_handle(death_handle).get_date_object().get_start_date()
|
death = self.database.get_event_from_handle(death_handle).get_date_object()
|
||||||
death_year_valid = death.get_year_valid()
|
death_year_valid = death.get_year_valid()
|
||||||
else:
|
else:
|
||||||
death_year_valid = 0
|
death_year_valid = 0
|
||||||
|
Loading…
Reference in New Issue
Block a user