Fix schema validator for multiple examples
This commit is contained in:
parent
176f919fc8
commit
810922bb38
1 changed files with 2 additions and 0 deletions
|
@ -60,6 +60,8 @@ def check_example_dir(exampledir, schemadir):
|
|||
continue
|
||||
examplepath = os.path.join(root, filename)
|
||||
schemapath = examplepath.replace(exampledir, schemadir)
|
||||
if schemapath.find("#") >= 0:
|
||||
schemapath = schemapath[:schemapath.find("#")]
|
||||
try:
|
||||
check_example_file(examplepath, schemapath)
|
||||
except Exception as e:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue