def do_ALL(self, string, filter_name):
        """General filter for all filter types not found"""
        if hasattr(str, filter_name):
            return getattr(str, filter_name)(string)
        else:
            raise FilterError('No such filter as %r'%filter_name)
General filter for all filter types not found
recipes/Python/578090_Python_Template_Engine/recipe-578090.py