From b3bca615353e86bacd0f156e96d53e8537eca8d0 Mon Sep 17 00:00:00 2001 From: Gerald Britton Date: Tue, 15 Sep 2009 16:03:41 +0000 Subject: [PATCH] Fix deadlock in ChangeNames svn: r13207 --- src/plugins/tool/ChangeNames.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/tool/ChangeNames.py b/src/plugins/tool/ChangeNames.py index eab2231b4..05d40516b 100644 --- a/src/plugins/tool/ChangeNames.py +++ b/src/plugins/tool/ChangeNames.py @@ -234,7 +234,8 @@ class ChangeNames(Tool.BatchTool, ManagedWindow.ManagedWindow): for node in self.iter_list if self.model.get_value(node,0)] - for handle in self.db.iter_person_handles(): + #for handle in self.db.get_person_handles(sort_handles=False): + for handle in self.db.get_person_handles(False): change = False person = self.db.get_person_from_handle(handle) for name in [person.get_primary_name()] + person.get_alternate_names():