Skip to content

Commit 9dcbb31

Browse files
committed
feat(cli): excel formula helper;
- Check for balanced brackets.
1 parent 4f15afd commit 9dcbb31

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ckanext/recombinant/cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def check_excel_syntax(dataset_type: Optional[str] = None,
113113
_check_matching_brackets(f.value)
114114
except RecombinantFieldError as e:
115115
errors = True
116-
click.echo('%s:%s.%s - syntax BAD' %
116+
click.echo('%s:%s.%s - excel_error_formula syntax BAD' %
117117
(dtype, resource['resource_name'],
118118
field['datastore_id']))
119119
click.echo('\t%s' % e)
@@ -129,7 +129,7 @@ def check_excel_syntax(dataset_type: Optional[str] = None,
129129
_check_matching_brackets(f.value)
130130
except RecombinantFieldError as e:
131131
errors = True
132-
click.echo('%s:%s.%s - syntax BAD' %
132+
click.echo('%s:%s.%s - excel_required_formula syntax BAD' %
133133
(dtype, resource['resource_name'],
134134
field['datastore_id']))
135135
click.echo('\t%s' % e)

0 commit comments

Comments
 (0)