'Call the validator function and implement overrides on all applicable
settings.'

def validate_settings(self, filename, option_parser):

    for section in self.sections():
        for setting in self.options(section):
            try:
                option = option_parser.get_option_by_dest(setting)
            except KeyError:
                continue
            if option.validator:
                value = self.get(section, setting, raw=1)
                try:
                    new_value = option.validator(setting, value, option_parser, config_parser=self, config_section=section)
                except Exception as error:
                    raise (ValueError(('Error    in    config    file    "%s",    section    "[%s]":\n                %s:    %s\n                                %s    =    %s' % (filename, section, error.__class__.__name__, error, setting, value))), None, sys.exc_info()[2])
                self.set(section, setting, new_value)
            if option.overrides:
                self.set(section, option.overrides, None)
