remove sort_handles=False parameters from iter_person_handles calls
svn: r12800
This commit is contained in:
parent
4e9c0246f3
commit
0ae751e916
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user