mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 13:24:54 +01:00
hound
This commit is contained in:
parent
4c204a87a9
commit
33a21674c5
1 changed files with 4 additions and 2 deletions
|
|
@ -76,12 +76,14 @@ class ValidateAttributes(OptionalPyblishPluginMixin,
|
|||
|
||||
for property_name, value in required_properties.items():
|
||||
if not has_property(object_name, property_name):
|
||||
cls.log.error(f"Non-existing property: {object_name}.{property_name}")
|
||||
cls.log.error(
|
||||
f"Non-existing property: {object_name}.{property_name}")
|
||||
invalid.append((object_name, property_name))
|
||||
|
||||
if not is_matching_value(object_name, property_name, value):
|
||||
cls.log.error(
|
||||
f"Invalid value for: {object_name}.{property_name}. Should be: {value}")
|
||||
f"Invalid value for: {object_name}.{property_name}"
|
||||
f". Should be: {value}")
|
||||
invalid.append((object_name, property_name))
|
||||
|
||||
return invalid
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue