[#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:
parent
c18d9dc3af
commit
c52085006a
|
@ -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',[])
|
||||||
|
|
Loading…
Reference in New Issue