2004-09-13 Tim Waugh <twaugh@redhat.com>

* src/GenericFilter.py (IsAncestorOfFilterMatch.apply): Fixed
        thinko.


svn: r3539
This commit is contained in:
Tim Waugh 2004-09-13 18:08:04 +00:00
parent 977e7b9a66
commit 3a66750eb5
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2004-09-13 Tim Waugh <twaugh@redhat.com>
* src/GenericFilter.py (IsAncestorOfFilterMatch.apply): Fixed
thinko.
2004-09-13 Tim Waugh <twaugh@redhat.com> 2004-09-13 Tim Waugh <twaugh@redhat.com>
* src/plugins/Ancestors.py (event_info): Prevent constructions like * src/plugins/Ancestors.py (event_info): Prevent constructions like
"died in before 1901" by playing safe if the mode is not exact. "died in before 1901" by playing safe if the mode is not exact.

View File

@ -681,7 +681,7 @@ class IsAncestorOfFilterMatch(IsAncestorOf):
if not self.init: if not self.init:
self.init = 1 self.init = 1
filt = MatchesFilter(self.list[0]) filt = MatchesFilter(self.list)
for person_handle in db.get_person_handles(sort_handles=False): for person_handle in db.get_person_handles(sort_handles=False):
if filt.apply (db, person_handle): if filt.apply (db, person_handle):
self.init_ancestor_list (person_handle,first) self.init_ancestor_list (person_handle,first)