From 9ba7cac39ac1f8ef7bc5280c3468103b7ad867cc Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Wed, 27 Oct 2004 03:10:53 +0000 Subject: [PATCH] * src/plugins/DescendReport.py: fix get_valid_year svn: r3678 --- ChangeLog | 3 +++ src/plugins/DescendReport.py | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 615206d83..f3b179ca6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2004-10-26 Don Allingham + * src/plugins/DescendReport.py: fix get_valid_year + 2004-10-25 Don Allingham * src/StartupDialog.py: handle delete event * src/docgen/HtmlDoc.py: fix typo diff --git a/src/plugins/DescendReport.py b/src/plugins/DescendReport.py index ac29db77a..9b9a5e1d0 100644 --- a/src/plugins/DescendReport.py +++ b/src/plugins/DescendReport.py @@ -79,14 +79,14 @@ class DescendantReport: def dump_dates(self, person): birth_handle = person.get_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() else: birth_year_valid = 0 death_handle = person.get_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() else: death_year_valid = 0