'Requires: line --line to process
Returns: nothing
Logic:
This method is called when you are in a list, but outside of a level.
Check for the end of the list. Otherwise, use the self.__mainlist_dict
to determine if you need to add a lines values to the main list.'

def __list_func(self, line):

    if ((self.__token_info == 'cb<nu<clos-brack') and (self.__cb_count == self.__list_ob_count)):
        self.__state = 'default'
    elif (self.__token_info == 'ob<nu<open-brack'):
        self.__state = 'unsure_ob'
    else:
        att = self.__main_list_dict.get(self.__token_info)
        if att:
            value = line[20:]
            self.__all_lists[(-1)][0][att] = value
