add return True to import stage of ckanharvester

Was causing queue.py to report that the import had errored.
This commit is contained in:
joetsoi 2013-02-22 10:13:36 +00:00
parent 83f8cf69a6
commit f97e3b4c6c
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)
return True
except ValidationError,e:
self._save_object_error('Invalid package with GUID %s: %r' % (harvest_object.guid, e.error_dict),
harvest_object, 'Import')