Skip to content

Commit

Permalink
SUPDATA-77 Fix create or update for CKAN 2.8+
Browse files Browse the repository at this point in the history
  • Loading branch information
markstuart committed Aug 2, 2022
1 parent d2baa61 commit e05f4f9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ckanext/oaipmh/harvester.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,8 @@ def import_stage(self, harvest_object):
log.info('Create/update package using dict: %s' % package_dict)
self._create_or_update_package(
package_dict,
harvest_object
harvest_object,
'package_show'
)

Session.commit()
Expand Down

0 comments on commit e05f4f9

Please sign in to comment.