Skip to content

Commit

Permalink
error message fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Perfilov committed Dec 19, 2014
1 parent 5bd5c9b commit 3ee1bd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckanext/datajson/datajsonvalidator.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ def do_validation(doc, errors_array):
pass # not required
elif not isinstance(item["dataQuality"], bool):
add_error(errs, 50, "Invalid Field Value (Optional Fields)",
"The field 'theme' must be true or false, "
"The field 'dataQuality' must be true or false, "
"as a JSON boolean literal (not the string \"true\" or \"false\").",
dataset_name)

Expand Down

0 comments on commit 3ee1bd2

Please sign in to comment.