Merge branch '7-harvest-source-templates' of github.com:okfn/ckanext-harvest into 7-harvest-source-templates
This commit is contained in:
commit
1acb68d9b7
|
@ -293,6 +293,7 @@ class CKANHarvester(HarvesterBase):
|
||||||
pkg_role = model.PackageRole(package=package, user=user, role=model.Role.READER)
|
pkg_role = model.PackageRole(package=package, user=user, role=model.Role.READER)
|
||||||
|
|
||||||
|
|
||||||
|
return True
|
||||||
except ValidationError,e:
|
except ValidationError,e:
|
||||||
self._save_object_error('Invalid package with GUID %s: %r' % (harvest_object.guid, e.error_dict),
|
self._save_object_error('Invalid package with GUID %s: %r' % (harvest_object.guid, e.error_dict),
|
||||||
harvest_object, 'Import')
|
harvest_object, 'Import')
|
||||||
|
|
Loading…
Reference in New Issue