Don't check the underlying definitions
Otherwise the script will try to find a schema for our templates, which don't exist.
This commit is contained in:
parent
31ea4279d1
commit
c8a8f13623
1 changed files with 3 additions and 0 deletions
|
@ -106,6 +106,9 @@ def check_example_dir(exampledir, schemadir):
|
|||
if filename.startswith("."):
|
||||
# Skip over any vim .swp files.
|
||||
continue
|
||||
if os.dirname(os.path.join(root, filename)) == "core":
|
||||
# Skip checking the underlying definitions
|
||||
continue
|
||||
examplepath = os.path.join(root, filename)
|
||||
schemapath = examplepath.replace(exampledir, schemadir)
|
||||
if schemapath.find("#") >= 0:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue