Merge "Fix Error during file validation"
This commit is contained in:
commit
9ac832fbde
@ -107,6 +107,7 @@ def _verify_single_file(filename, schemas):
|
||||
'%s does not begin with YAML beginning of document '
|
||||
'marker "---".' % filename))
|
||||
f.seek(0)
|
||||
documents = []
|
||||
try:
|
||||
documents = list(yaml.safe_load_all(f))
|
||||
except Exception as e:
|
||||
|
Loading…
Reference in New Issue
Block a user