'setting archive of a particular source. This affects all the torrents in this source'

def set_archive(self, source, enable):

    if (source in self.boosting_sources):
        self.boosting_sources[source].archive = enable
        self._logger.info('Set    archive    mode    for    %s    to    %s', source, enable)
    else:
        self._logger.error('Could    not    set    archive    mode    for    unknown    source    %s', source)
