From 0ae751e91671d64700cb9c76bfe23a90ca6c510c Mon Sep 17 00:00:00 2001 From: Gerald Britton Date: Wed, 15 Jul 2009 14:48:11 +0000 Subject: [PATCH] remove sort_handles=False parameters from iter_person_handles calls svn: r12800 --- src/Filters/Rules/Person/_HasCommonAncestorWithFilterMatch.py | 2 +- src/Filters/Rules/Person/_IsAncestorOfFilterMatch.py | 2 +- src/Filters/Rules/Person/_IsChildOfFilterMatch.py | 2 +- src/Filters/Rules/Person/_IsDescendantOfFilterMatch.py | 2 +- src/Filters/Rules/Person/_IsParentOfFilterMatch.py | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Filters/Rules/Person/_HasCommonAncestorWithFilterMatch.py b/src/Filters/Rules/Person/_HasCommonAncestorWithFilterMatch.py index 0786434a4..7897ef283 100644 --- a/src/Filters/Rules/Person/_HasCommonAncestorWithFilterMatch.py +++ b/src/Filters/Rules/Person/_HasCommonAncestorWithFilterMatch.py @@ -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) diff --git a/src/Filters/Rules/Person/_IsAncestorOfFilterMatch.py b/src/Filters/Rules/Person/_IsAncestorOfFilterMatch.py index 6bf3e00d2..86c657dd5 100644 --- a/src/Filters/Rules/Person/_IsAncestorOfFilterMatch.py +++ b/src/Filters/Rules/Person/_IsAncestorOfFilterMatch.py @@ -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) diff --git a/src/Filters/Rules/Person/_IsChildOfFilterMatch.py b/src/Filters/Rules/Person/_IsChildOfFilterMatch.py index e443f1deb..60ce67ef0 100644 --- a/src/Filters/Rules/Person/_IsChildOfFilterMatch.py +++ b/src/Filters/Rules/Person/_IsChildOfFilterMatch.py @@ -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) diff --git a/src/Filters/Rules/Person/_IsDescendantOfFilterMatch.py b/src/Filters/Rules/Person/_IsDescendantOfFilterMatch.py index e14661582..a03833b1d 100644 --- a/src/Filters/Rules/Person/_IsDescendantOfFilterMatch.py +++ b/src/Filters/Rules/Person/_IsDescendantOfFilterMatch.py @@ -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) diff --git a/src/Filters/Rules/Person/_IsParentOfFilterMatch.py b/src/Filters/Rules/Person/_IsParentOfFilterMatch.py index 113512fa1..23e88a5fa 100644 --- a/src/Filters/Rules/Person/_IsParentOfFilterMatch.py +++ b/src/Filters/Rules/Person/_IsParentOfFilterMatch.py @@ -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)