add return True to import stage of ckanharvester
Was causing queue.py to report that the import had errored.
This commit is contained in:
parent
83f8cf69a6
commit
f97e3b4c6c
|
@ -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