[ckan-changes] commit/ckanext-harvest: amercader: Set a flag to force harvesters to import objects
Bitbucket
commits-noreply at bitbucket.org
Tue May 10 16:11:21 UTC 2011
1 new changeset in ckanext-harvest:
http://bitbucket.org/okfn/ckanext-harvest/changeset/0675925f6aae/
changeset: r90:0675925f6aae
user: amercader
date: 2011-05-10 18:11:12
summary: Set a flag to force harvesters to import objects
affected #: 1 file (112 bytes)
--- a/ckanext/harvest/lib/__init__.py Tue May 10 16:06:57 2011 +0100
+++ b/ckanext/harvest/lib/__init__.py Tue May 10 17:11:12 2011 +0100
@@ -345,6 +345,8 @@
imported_objects.append(obj)
for harvester in PluginImplementations(IHarvester):
if harvester.get_type() == obj.job.source.type:
+ if hasattr(harvester,'force_import'):
+ harvester.force_import = True
harvester.import_stage(obj)
last_obj_guid = obj.guid
Repository URL: https://bitbucket.org/okfn/ckanext-harvest/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the ckan-changes
mailing list