Merge branch 'add-harvesting-of-organizations' of git://github.com/metaodi/ckanext-harvest into metaodi-add-harvesting-of-organizations
This commit is contained in:
commit
49999893e7
|
@ -309,6 +309,7 @@ class CKANHarvester(HarvesterBase):
|
|||
remote_org = package_dict['owner_org']
|
||||
context = {'model': model, 'session': Session, 'user': 'harvest'}
|
||||
|
||||
if remote_org:
|
||||
try:
|
||||
data_dict = {'id': remote_org}
|
||||
org = get_action('organization_show')(context, data_dict)
|
||||
|
|
Loading…
Reference in New Issue