Skip to content

Commit a920a49

Browse files
committed
[validation.py] Change Error Label
1 parent 009b3a2 commit a920a49

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
@@ -139,7 +139,7 @@ def object_required_attributes(obj):
139139
obj_arg = getattr(obj, arg[0])
140140
if not obj_arg and not isinstance(obj_arg, bool):
141141
msg = "%s %s undefined" % (obj.format().name.capitalize(), arg[0])
142-
yield ValidationError(obj, msg, LABEL_WARNING)
142+
yield ValidationError(obj, msg, LABEL_ERROR)
143143

144144

145145
Validation.register_handler('odML', object_required_attributes)

0 commit comments

Comments
 (0)