From e1095908ef8da79a83fcd42e0199921714fba590 Mon Sep 17 00:00:00 2001 From: Gary Burton Date: Sat, 11 Jul 2009 16:13:29 +0000 Subject: [PATCH] Reinstate the building of person_dict. Bug 3103 svn: r12788 --- src/plugins/graph/GVRelGraph.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/plugins/graph/GVRelGraph.py b/src/plugins/graph/GVRelGraph.py index 9bbe75dfd..fe8a26bf4 100644 --- a/src/plugins/graph/GVRelGraph.py +++ b/src/plugins/graph/GVRelGraph.py @@ -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():