Skip to content

Commit 73edc26

Browse files
committed
[validation] Use prop 'values' instead of 'value'
1 parent 35bc91c commit 73edc26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

odml/validation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ def property_dependency_check(prop):
291291
LABEL_WARNING)
292292
return
293293

294-
if prop.dependency_value not in dep_obj.value[0]:
294+
if prop.dependency_value not in dep_obj.values[0]:
295295
yield ValidationError(prop, "Dependency-value is not equal to value of"
296296
" the property's dependency", LABEL_WARNING)
297297

0 commit comments

Comments
 (0)