Skip to content

Commit

Permalink
Shorten error message
Browse files Browse the repository at this point in the history
  • Loading branch information
dc-almeida committed Jan 15, 2025
1 parent 8579c8f commit b55894c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion nomenclature/codelist.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,6 @@ def _check_string(attr, value):
errors.append(
ValueError(
f"Illegal character(s) '{found}' in {attr} of {self.name} '{code.name}'."
" Check for illegal characters and/or if tags were spelled correctly."
)
)
elif isinstance(value, dict):
Expand Down

0 comments on commit b55894c

Please sign in to comment.