[ckan harvester] Fix bug on force all check
This commit is contained in:
parent
f210455aef
commit
871eae94b6
|
@ -130,8 +130,8 @@ class CKANHarvester(HarvesterBase):
|
|||
base_rest_url = base_url + self._get_rest_api_offset()
|
||||
base_search_url = base_url + self._get_search_api_offset()
|
||||
|
||||
if (previous_job and not previous_job.gather_errors and not len(previous_job.objects) == 0) \
|
||||
or not self.config.get('force_all',False):
|
||||
if (previous_job and not previous_job.gather_errors and not len(previous_job.objects) == 0):
|
||||
if not self.config.get('force_all',False):
|
||||
get_all_packages = False
|
||||
|
||||
# Request only the packages modified since last harvest job
|
||||
|
|
Loading…
Reference in New Issue