Skip to content

Commit

Permalink
Merge pull request #980 from bcgov/BUG-composite-fields-being-wiped
Browse files Browse the repository at this point in the history
Removing logging
  • Loading branch information
adodge-bcg authored Dec 20, 2024
2 parents 82777a4 + 65ccb23 commit 1ff480c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ckanext/bcgov/util/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -529,8 +529,6 @@ def convert_composite_fields_to_array(resource):
compositeResourceFields = ['temporal_extent', 'details', 'preview_info', 'geographic_extent']
for field in compositeResourceFields:
if (field in resource) and isinstance(resource[field], str):
log.debug('Resource: ')
log.debug(resource[field])
try:
resource[field] = json.loads(resource[field])
except:
Expand Down

0 comments on commit 1ff480c

Please sign in to comment.