[#61] Truly ignore harvest sources

The currently implementation returns False when a harvest source is being harvested. This leads to an error on the harvesting job, which in turn tends to confuse users that have no idea of this special implementation. This fix ensures that harvest sources are still ignored, but silently.
This commit is contained in:
Stefan Oderbolz 2013-10-23 07:40:55 +02:00
parent c18d9dc3af
commit c52085006a
1 changed files with 1 additions and 1 deletions

View File

@ -247,7 +247,7 @@ class CKANHarvester(HarvesterBase):
if package_dict.get('type') == 'harvest': if package_dict.get('type') == 'harvest':
log.warn('Remote dataset is a harvest source, ignoring...') log.warn('Remote dataset is a harvest source, ignoring...')
return False return True
# Set default tags if needed # Set default tags if needed
default_tags = self.config.get('default_tags',[]) default_tags = self.config.get('default_tags',[])