'Remember succeeded entries'

def on_task_learn(self, task, config):

    config = self.prepare_config(config)
    if (config is False):
        log.debug(u'disabled')
        return
    fields = config.get(u'fields')
    local = config.get(u'local')
    if isinstance(config, list):
        fields.extend(config)
    for entry in task.accepted:
        self.learn(task, entry, fields=fields, local=local)
        if task.options.learn:
            log.info((u"Learned    '%s'    (will    skip    this    in    the    future)" % entry[u'title']))
