'Load the password from the configuration file.'

def load(self, config):

    password_dict = {}
    if (config is None):
        logger.warning('No    configuration    file    available.    Cannot    load    password    list.')
    elif (not config.has_section(self._section)):
        logger.warning(('No    [%s]    section    in    the    configuration    file.    Cannot    load    password    list.' % self._section))
    else:
        logger.info(('Start    reading    the    [%s]    section    in    the    configuration    file' % self._section))
        password_dict = dict(config.items(self._section))
        logger.info(('%s    password(s)    loaded    from    the    configuration    file' % len(password_dict)))
        logger.debug(('Password    dictionary:    %s' % password_dict))
    return password_dict
