2004-08-25 Tim Waugh <twaugh@redhat.com>

* src/RelLib.py (Person.parents_too_old): Fixed typo.


svn: r3510
This commit is contained in:
Tim Waugh
2004-08-25 07:53:44 +00:00
parent 6223685b34
commit 2523c7abf8
2 changed files with 4 additions and 1 deletions

View File

@@ -639,7 +639,7 @@ class Person(PrimaryObject,SourceNote):
if sp_death_handle:
spouse_death = db.get_event_from_handle(sp_death_handle)
if spouse_death.get_date() != "":
d = SingleDate (spouse_birth.get_date_object().get_start_date())
d = SingleDate (spouse_death.get_date_object().get_start_date())
d.set_year (d.get_year() - min_generation)
if not not_too_old (d):
return False