Merge branch '7-harvest-source-templates' of github.com:okfn/ckanext-harvest into 7-harvest-source-templates

This commit is contained in:
amercader 2013-02-22 17:29:37 +00:00
commit 1acb68d9b7
1 changed files with 1 additions and 0 deletions

View File

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