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 1f12cdd680
commit b29af77888
2 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,6 @@
2004-08-25 Tim Waugh <twaugh@redhat.com>
* src/RelLib.py (Person.parents_too_old): Fixed typo.
2004-08-24 Don Allingham <dallingham@users.sourceforge.net>
* src/ReadXML.py: Fix file copy problem, handle copy failure
* src/ImageSelect.py: Display GRAMPS ID, not DB handle

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