Skip to content

Commit

Permalink
new: if the parent cannot be found, don't continue with the child
Browse files Browse the repository at this point in the history
  • Loading branch information
nickumia-reisys committed Oct 2, 2023
1 parent 9f3b15e commit 5567291
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckanext/datajson/datajson.py
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ def import_stage(self, harvest_object):
if parent is not None:
parent_pkg_id = parent['id']
else:
parent_pkg_id = None
return []

if extra.key.startswith('catalog_'):
catalog_extras[extra.key] = extra.value
Expand Down

0 comments on commit 5567291

Please sign in to comment.