Skip to content

Commit 49a338b

Browse files
Update helpers.py
1 parent 9e9e4a4 commit 49a338b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ckanext/scheming/helpers.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,6 @@ def scheming_get_suggestion_value(formula, data=None, errors=None, lang=None):
499499
'package' in package_data['dpp_suggestions']):
500500

501501
# Get the suggestion value if it exists
502-
logger
503502
if field_name in package_data['dpp_suggestions']['package']:
504503
logger.info(f"Suggestion value found for field '{field_name}': {package_data['dpp_suggestions']['package'][field_name]}")
505504
return package_data['dpp_suggestions']['package'][field_name]
@@ -538,4 +537,4 @@ def is_preformulated_field(field):
538537
Check if a field is preformulated (has formula attribute)
539538
This helper returns True only if the field has a 'formula' key with a non-empty value
540539
"""
541-
return bool(field.get('formula', False))
540+
return bool(field.get('formula', False))

0 commit comments

Comments
 (0)