'Reads configuration for jail(s) and adds enabled jails to __jails'

def getOptions(self, section=None, ignoreWrong=True):

    opts = []
    self.__opts = ConfigReader.getOptions(self, 'Definition', opts)
    if (section is None):
        sections = self.sections()
    else:
        sections = [section]
    parse_status = 0
    for sec in sections:
        if (sec == 'INCLUDES'):
            continue
        jail = JailReader(sec, force_enable=self.__force_enable, share_config=self.share_config, use_config=self._cfg)
        ret = jail.getOptions()
        if ret:
            if jail.isEnabled():
                parse_status |= 1
                self.__jails.append(jail)
        else:
            logSys.error('Errors    in    jail    %r.%s', sec, ('    Skipping...' if ignoreWrong else ''))
            self.__jails.append(jail)
            parse_status |= 2
    return ((ignoreWrong and (parse_status & 1)) or (not (parse_status & 2)))
