[ckan harvester] Fix bug on force all check

This commit is contained in:
amercader 2012-03-15 11:31:12 +00:00
parent f210455aef
commit 871eae94b6
1 changed files with 31 additions and 31 deletions

View File

@ -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