Skip to content

Commit

Permalink
fix: improve logging of dataset URL changes
Browse files Browse the repository at this point in the history
Co-authored-by: Rae Knowler <[email protected]>
  • Loading branch information
kovalch and bellisk authored Nov 21, 2024
1 parent dba960f commit 80308e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckanext/geocat/utils/harvest_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def check_package_change(existing_pkg, dataset_dict):
dataset_dict_url = dataset_dict.get('url', '')
if existing_pkg_url != dataset_dict_url:
msg = "dataset url value changed from '{}' to '{}'".format(
existing_pkg_url or "", dataset_dict_url or "")
existing_pkg_url, dataset_dict_url)
return True, msg

# Check if the modified date has changed
Expand Down

0 comments on commit 80308e4

Please sign in to comment.