Skip to content

Commit

Permalink
Fix logic
Browse files Browse the repository at this point in the history
  • Loading branch information
bonnland committed Apr 15, 2024
1 parent de56e70 commit d6cb429
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckanext/spatial/harvesters/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ def import_stage(self, harvest_object):
group_name, harvest_object.guid)
log.info(warn_message)
self._save_object_error(warn_message, harvest_object, 'Import')
elif not group_just_added:
if not group_just_added:
p.toolkit.get_action('group_purge')(context, {'id': harvest_object.guid})
log.info('Deleted and purged Group/Collection with GUID: {0}'.format(harvest_object.guid))
except logic.NotFound:
Expand Down

0 comments on commit d6cb429

Please sign in to comment.