From 8d5da7b928eb6551cf3786e1728035fb1a60f39f Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Fri, 20 Jan 2006 22:03:20 +0000 Subject: [PATCH] remove skip feature svn: r5812 --- src/PeopleModel.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/PeopleModel.py b/src/PeopleModel.py index 8d8736679..864541009 100644 --- a/src/PeopleModel.py +++ b/src/PeopleModel.py @@ -121,10 +121,10 @@ class PeopleModel(gtk.GenericTreeModel): self.rebuild_data(data_filter) def rebuild_data(self,data_filter=None,skip=None): - self.calculate_data(data_filter,skip) + self.calculate_data(data_filter) self.assign_data() - def calculate_data(self,data_filter=None,skip=None): + def calculate_data(self,data_filter=None): if data_filter: self.data_filter = data_filter @@ -146,10 +146,6 @@ class PeopleModel(gtk.GenericTreeModel): else: keys = self.db.get_person_handles(sort_handles=False) - flist = set(keys) - if skip and skip in flist: - flist.remove(skip) - self.sortnames = {} cursor = self.db.get_person_cursor() node = cursor.next()