Skip to content

Commit

Permalink
Prevent double ignore_fields argument
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike committed Apr 15, 2021
1 parent ac7abb0 commit cb20d3a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/hdx/data/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,6 @@ def _dataset_merge_hdx_update(self, update_resources, match_resources_by_metadat
filestore_resources = dict()
if update_resources and updated_resources:
new_kwargs = self._get_kwargs_ignore_fields(kwargs)
ignore_fields = ['package_id']
if match_resources_by_metadata:
resource_matches, updated_resource_matches, resource_no_matches, updated_resource_no_matches = ResourceMatcher.match_resource_lists(self.resources, updated_resources)
for i, resource_index in enumerate(resource_matches):
Expand Down

0 comments on commit cb20d3a

Please sign in to comment.