From 6aaf59b499bbd8bdac1739c21000dfa275f16a4c Mon Sep 17 00:00:00 2001 From: Gerald Britton Date: Sun, 7 Jun 2009 02:18:32 +0000 Subject: [PATCH] _PeopleModel.py: remove redundant call to db.get_person_handles(), saving about 1/4 sec per 1000 people loaded into people view svn: r12632 --- src/DisplayModels/_PeopleModel.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/DisplayModels/_PeopleModel.py b/src/DisplayModels/_PeopleModel.py index 16bfef7ea..a405312ad 100644 --- a/src/DisplayModels/_PeopleModel.py +++ b/src/DisplayModels/_PeopleModel.py @@ -338,10 +338,6 @@ class PeopleModel(gtk.GenericTreeModel): ngn = name_displayer.name_grouping_data nsn = name_displayer.raw_sorted_name - plist = self.db.get_person_handles() - - self.total = len(plist) - if dfilter: handle_list = dfilter.apply(self.db, self.db.get_person_handles()) else: