def envGetList(self, name, attr_regex = '<STR_LIT>', conv=None):
key = "<STR_LIT>" % name<EOL>item_list = []<EOL>if key in self._env:<EOL><INDENT>if attr_regex:<EOL><INDENT>recomp = re.compile(attr_regex)<EOL><DEDENT>else:<EOL><INDENT>recomp = None<EOL><DEDENT>for attr in self._env[key].split('<STR_LIT:U+002C>'):<EOL><INDENT>attr = attr.strip()<EOL>if recomp is None or recomp.search(attr):<EOL><INDENT>if conv is not None:<EOL><INDENT>item_list.append(conv(attr))<EOL><DEDENT>else:<EOL><INDENT>item_list.append(attr)<EOL><DEDENT><DEDENT><DEDENT><DEDENT>return item_list<EOL>
Parse the plugin environment variables to return list from variable
        with name list_<name>. The value of the variable must be a comma 
        separated list of items.

        @param name:       Name of list.
                           (Also determines suffix for environment variable name.)
        @param attr_regex: If the regex is defined, the items in the list are 
                           ignored unless they comply with the format dictated 
                           by the match regex.
        @param conv:       Function for converting value to desired type.
        @return:           List of items.