def __init__(self, list_include = None, list_exclude = None,<EOL>attr_regex = None, default = True):
self._attrs = {}<EOL>self._default = default<EOL>if attr_regex:<EOL><INDENT>self._regex = re.compile(attr_regex)<EOL><DEDENT>else:<EOL><INDENT>self._regex = None<EOL><DEDENT>if list_include:<EOL><INDENT>self._default = False<EOL>for attr in list_include:<EOL><INDENT>if not self._regex or self._regex.search(attr):<EOL><INDENT>self._attrs[attr] = True<EOL><DEDENT><DEDENT><DEDENT>if list_exclude:<EOL><INDENT>for attr in list_exclude:<EOL><INDENT>if not self._regex or self._regex.search(attr):<EOL><INDENT>self._attrs[attr] = False<EOL><DEDENT><DEDENT><DEDENT>
Initialize Munin Attribute Filter.

        @param list_include: Include List (List of attributes that are enabled.)
        @param list_exclude: Exclude List (List of attributes that are disabled.)
        @param attr_regex:   If the regex is defined, the Attributes in the 
                             Include List and Exclude List are ignored unless 
                             they comply with the format dictated by the match 
                             regex.
        @param default:      Filter default. Applies when the include list is 
                             not defined and the attribute is not in the exclude 
                             list.