diff --git a/src/Filters/Rules/_Rule.py b/src/Filters/Rules/_Rule.py index f09bcc981..34aee9c99 100644 --- a/src/Filters/Rules/_Rule.py +++ b/src/Filters/Rules/_Rule.py @@ -69,9 +69,8 @@ class Rule(object): def apply(self, db, person): return True - #def __nonzero__(self, db, person): - # return self.apply(db, person) - + __nonzero__ = apply + def display_values(self): v = ( '%s="%s"' % ((_(self.labels[ix]),)*2) for ix in xrange(len(self.list)) if self.list[ix] )