remove sort_handles=False parameters from iter_person_handles calls

svn: r12800
This commit is contained in:
Gerald Britton 2009-07-15 14:48:11 +00:00
parent 4e9c0246f3
commit 0ae751e916
5 changed files with 5 additions and 5 deletions

View File

@ -59,7 +59,7 @@ class HasCommonAncestorWithFilterMatch(HasCommonAncestorWith,MatchesFilter):
filt = MatchesFilter(self.list)
filt.prepare(db)
def init(self, h): self.ancestor_cache[h] = 1
for handle in db.iter_person_handles(sort_handles=False):
for handle in db.iter_person_handles():
if (handle not in self.ancestor_cache
and filt.apply (db, db.get_person_from_handle(handle))):
for_each_ancestor(db,[handle],init,self)

View File

@ -67,7 +67,7 @@ class IsAncestorOfFilterMatch(IsAncestorOf,MatchesFilter):
filt = MatchesFilter(self.list[0:1])
filt.prepare(db)
for person_handle in db.iter_person_handles(sort_handles=False):
for person_handle in db.iter_person_handles():
person = db.get_person_from_handle( person_handle)
if filt.apply (db, person):
self.init_ancestor_list (db,person,first)

View File

@ -53,7 +53,7 @@ class IsChildOfFilterMatch(MatchesFilter):
self.map = {}
filt = MatchesFilter(self.list)
filt.prepare(db)
for person_handle in db.iter_person_handles(sort_handles=False):
for person_handle in db.iter_person_handles():
person = db.get_person_from_handle( person_handle)
if filt.apply (db, person):
self.init_list (person)

View File

@ -67,7 +67,7 @@ class IsDescendantOfFilterMatch(IsDescendantOf,MatchesFilter):
filt = MatchesFilter(self.list[0:1])
filt.prepare(db)
for person_handle in db.iter_person_handles(sort_handles=False):
for person_handle in db.iter_person_handles():
person = db.get_person_from_handle( person_handle)
if filt.apply (db, person):
self.init_list (person,first)

View File

@ -53,7 +53,7 @@ class IsParentOfFilterMatch(MatchesFilter):
self.map = {}
filt = MatchesFilter(self.list)
filt.prepare(db)
for person_handle in db.iter_person_handles(sort_handles=False):
for person_handle in db.iter_person_handles():
person = db.get_person_from_handle(person_handle)
if filt.apply (db, person):
self.init_list (person)