Reinstate the building of person_dict. Bug 3103
svn: r12788
This commit is contained in:
parent
1460750b24
commit
e1095908ef
@ -162,11 +162,10 @@ class RelGraphReport(Report):
|
||||
def add_child_links_to_families(self):
|
||||
"returns string of GraphViz edges linking parents to families or \
|
||||
children"
|
||||
person_dict = {}
|
||||
# Hash people in a dictionary for faster inclusion checking
|
||||
person_dict = dict([handle, 1] for handle in self.person_handles)
|
||||
|
||||
for person_handle in self.person_handles:
|
||||
person_dict[person_handle] = 1
|
||||
person = self.database.get_person_from_handle(person_handle)
|
||||
p_id = person.get_gramps_id()
|
||||
for fam_handle in person.get_parent_family_handle_list():
|
||||
|
Loading…
Reference in New Issue
Block a user