_PeopleModel.py: remove redundant call to db.get_person_handles(), saving about 1/4 sec per 1000 people loaded into people view

svn: r12632
This commit is contained in:
Gerald Britton 2009-06-07 02:18:32 +00:00
parent 542b1e404d
commit 6aaf59b499

View File

@ -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: