(self, filterer, filters)
Add filters to a filterer from a list of names.
Add filters to a filterer from a list of names.
Add filters to a filterer from a list of names .
def add_filters(self, filterer, filters):
        """Add filters to a filterer from a list of names."""
        for f in filters:
            try:
                filterer.addFilter(self.config['filters'][f])
            except Exception as e:
                raise ValueError('Unable to add filter %r' % f) from e
def add_filters ( self , filterer , filters ) : for f in filters : try : filterer . addFilter ( self . config [ 'filters' ] [ f ] ) except Exception as e : raise ValueError ( 'Unable to add filter %r' % f ) from e