'Check the configuration for possible errors'

def check_config(self):

    for (policy, options) in self._override_options.items():
        if (options.read_affinity and (options.sorting_method != 'affinity')):
            self.logger.warning(_("sorting_method    is    set    to    '%(method)s',    not    'affinity';    %(label)s    read_affinity    setting    will    have    no    effect."), {'label': _label_for_policy(policy), 'method': options.sorting_method})
