Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
modified error message
Browse files Browse the repository at this point in the history
  • Loading branch information
iLLiCiTiT committed Jul 27, 2021
1 parent 13f6661 commit 3f97ee1
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions openpype/settings/entities/anatomy_entities.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,11 @@ def schema_validations(self):
]
reason = (
"Anatomy must have all children as groups."
" Non-group children {}"
).format(", ".join(_non_group_children))
" Set 'is_group' to `true` on > {}"
).format(", ".join([
'"{}"'.format(item)
for item in _non_group_children
]))
raise EntitySchemaError(self, reason)

return super(AnatomyEntity, self).schema_validations()

0 comments on commit 3f97ee1

Please sign in to comment.