* src/plugins/Ancestors.py (person): correctly compare handles.
svn: r4957
This commit is contained in:
parent
dc3bbdd7eb
commit
5d3fd22ee2
@ -5,6 +5,7 @@
|
||||
2005-07-20 Alexander Roitman <shura@gramps-project.org>
|
||||
* configure.in: Put release number back to CVS+date.
|
||||
* src/po/de.po: Typo.
|
||||
* src/plugins/Ancestors.py (person): correctly compare handles.
|
||||
|
||||
2005-07-18 Don Allingham <don@gramps-project.org>
|
||||
* src/plugins/NavWebPage.py: add media gallery navigation, clean up
|
||||
|
@ -351,10 +351,10 @@ class ComprehensiveAncestorsReport (Report.Report):
|
||||
|
||||
spouse = []
|
||||
if from_family:
|
||||
from_family_father = from_family.get_father_handle ()
|
||||
from_family_mother = from_family.get_mother_handle ()
|
||||
from_family_father_id = from_family.get_father_handle ()
|
||||
from_family_mother_id = from_family.get_mother_handle ()
|
||||
else:
|
||||
from_family_father = from_family_mother = None
|
||||
from_family_father_id = from_family_mother = None
|
||||
|
||||
for family_handle in person.get_family_handle_list ():
|
||||
family = self.database.get_family_from_handle(family_handle)
|
||||
@ -365,8 +365,8 @@ class ComprehensiveAncestorsReport (Report.Report):
|
||||
continue
|
||||
|
||||
if (suppress_children or
|
||||
(partner != from_family_father and
|
||||
partner != from_family_mother)):
|
||||
(partner_id != from_family_father_id and
|
||||
partner_id != from_family_mother_id)):
|
||||
for media_ref in partner.get_media_list ()[:1]:
|
||||
object_handle = media_ref.get_reference_handle()
|
||||
mobject = self.database.get_object_from_handle(object_handle)
|
||||
|
Loading…
x
Reference in New Issue
Block a user