Skip to content

Commit

Permalink
Merge pull request #323 from NASA-AMMOS/issue-318
Browse files Browse the repository at this point in the history
Issue #318 - Fix validation error message sorting issue
  • Loading branch information
MJJoyce authored Mar 11, 2021
2 parents fe90bc3 + 96b6b69 commit 4136409
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ait/core/val.py
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ def schema_val(self, messages=None):

# Loop through the errors (if any) and set valid = False if any are found
# Display the error message
for error in sorted(v.iter_errors(data)):
for error in v.iter_errors(data):
msg = "Schema-based validation failed for YAML file '" + self._ymlfile + "'"
self.ehandler.process(docnum, self._ymlproc.doclines, error, messages)
valid = False
Expand Down

0 comments on commit 4136409

Please sign in to comment.