From 9a21141c428b051695a24a70aac99f3320be680f Mon Sep 17 00:00:00 2001 From: Gerald Britton Date: Tue, 6 Oct 2009 20:19:56 +0000 Subject: [PATCH] Bug 0003230: Error while deleting family selected by any filter. svn: r13320 --- src/Filters/_GenericFilter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Filters/_GenericFilter.py b/src/Filters/_GenericFilter.py index 84388e588..8eb5bce7a 100644 --- a/src/Filters/_GenericFilter.py +++ b/src/Filters/_GenericFilter.py @@ -160,7 +160,7 @@ class GenericFilter(object): person = self.find_from_handle(db, handle) if progress: progress.step() - val = all(rule.apply(db, person) for rule in flist) + val = all(rule.apply(db, person) for rule in flist if person) if val != self.invert: final_list.append(data) return final_list