fix to make import stage work on its own
This commit is contained in:
parent
63afd199a9
commit
31dac7029a
|
@ -93,6 +93,7 @@ class Harvester(CkanCommand):
|
|||
elif cmd == 'initdb':
|
||||
self.initdb()
|
||||
elif cmd == 'import':
|
||||
self.initdb()
|
||||
self.import_stage()
|
||||
elif cmd == 'job-all':
|
||||
self.create_harvest_job_all()
|
||||
|
|
|
@ -375,6 +375,7 @@ def import_last_objects(source_id=None):
|
|||
harvester.import_stage(obj)
|
||||
last_obj_guid = obj.guid
|
||||
|
||||
|
||||
return imported_objects
|
||||
|
||||
def create_harvest_job_all():
|
||||
|
|
Loading…
Reference in New Issue