2007-10-30 Gary Burton <gary.burton@zen.co.uk>

* src/gen/lib/person.py: setting the death index wrongly.



svn: r9277
This commit is contained in:
Gary Burton 2007-10-30 15:07:46 +00:00
parent 56050eabb9
commit 5023c4a84f
2 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,6 @@
2007-10-30 Gary Burton <gary.burton@zen.co.uk>
* src/gen/lib/person.py: setting the death index wrongly.
2007-10-27 Benny Malengier <benny.malengier@gramps-project.org>
* src/plugins/rel_fr.py: add test procedure
* src/Relationship.py: generlize test procedure

View File

@ -249,7 +249,7 @@ class Person(SourceBase, NoteBase, AttributeBase, MediaBase,
if (self.birth_ref_index != -1):
self.set_birth_ref(birth_ref)
if (self.death_ref_index != -1):
self.set_death_ref(birth_ref)
self.set_death_ref(death_ref)
elif classname == 'Person':
new_list = [ref for ref in self.person_ref_list
if ref.ref not in handle_list]