Correctly check for the 'core' folder
This commit is contained in:
parent
c8a8f13623
commit
464f4f5f21
1 changed files with 2 additions and 1 deletions
|
@ -106,7 +106,8 @@ def check_example_dir(exampledir, schemadir):
|
||||||
if filename.startswith("."):
|
if filename.startswith("."):
|
||||||
# Skip over any vim .swp files.
|
# Skip over any vim .swp files.
|
||||||
continue
|
continue
|
||||||
if os.dirname(os.path.join(root, filename)) == "core":
|
cwd = os.path.basename(os.path.dirname(os.path.join(root, filename)))
|
||||||
|
if cwd == "core":
|
||||||
# Skip checking the underlying definitions
|
# Skip checking the underlying definitions
|
||||||
continue
|
continue
|
||||||
examplepath = os.path.join(root, filename)
|
examplepath = os.path.join(root, filename)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue