Merge branch 'master' of github.com:okfn/ckanext-harvest

This commit is contained in:
David Read 2012-07-19 15:27:04 +01:00
commit a61ea06faf
1 changed files with 1 additions and 0 deletions

View File

@ -133,6 +133,7 @@ def harvest_jobs_run(context,data_dict):
publisher = get_gather_publisher() publisher = get_gather_publisher()
sent_jobs = [] sent_jobs = []
for job in jobs: for job in jobs:
context['detailed'] = False
source = harvest_source_show(context,{'id':job['source']}) source = harvest_source_show(context,{'id':job['source']})
if source['active']: if source['active']:
publisher.send({'harvest_job_id': job['id']}) publisher.send({'harvest_job_id': job['id']})