'Return the value for a theme configuration setting, searching the
base theme chain.'

def get_config(self, section, name, default=NODEFAULT):

    try:
        return self.config.get(section, name)
    except (configparser.NoOptionError, configparser.NoSectionError):
        if self.base:
            return self.base.get_config(section, name, default)
        if (default is NODEFAULT):
            raise ThemeError((__('setting    %s.%s    occurs    in    none    of    the    searched    theme    configs') % (section, name)))
        else:
            return default
