[ckan-changes] commit/ckanext-harvest: kindly: fix to make import stage work on its own
Bitbucket
commits-noreply at bitbucket.org
Wed Sep 28 13:31:55 UTC 2011
1 new changeset in ckanext-harvest:
http://bitbucket.org/okfn/ckanext-harvest/changeset/189d8406097f/
changeset: 189d8406097f
user: kindly
date: 2011-09-28 15:27:28
summary: fix to make import stage work on its own
affected #: 2 files (-1 bytes)
--- a/ckanext/harvest/commands/harvester.py Thu Sep 08 10:27:36 2011 +0100
+++ b/ckanext/harvest/commands/harvester.py Wed Sep 28 14:27:28 2011 +0100
@@ -93,6 +93,7 @@
elif cmd == 'initdb':
self.initdb()
elif cmd == 'import':
+ self.initdb()
self.import_stage()
elif cmd == 'job-all':
self.create_harvest_job_all()
--- a/ckanext/harvest/lib/__init__.py Thu Sep 08 10:27:36 2011 +0100
+++ b/ckanext/harvest/lib/__init__.py Wed Sep 28 14:27:28 2011 +0100
@@ -374,6 +374,7 @@
harvester.force_import = True
harvester.import_stage(obj)
last_obj_guid = obj.guid
+
return imported_objects
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