|
@@ -821,6 +821,11 @@ def parse_schemas(schemas_dir):
|
|
for filename in files:
|
|
for filename in files:
|
|
path = os.path.join(root, filename)
|
|
path = os.path.join(root, filename)
|
|
context = parse_file(path)
|
|
context = parse_file(path)
|
|
|
|
+
|
|
|
|
+ if context is None:
|
|
|
|
+ # the file doesn't contain a schema (see above)
|
|
|
|
+ continue
|
|
|
|
+
|
|
program = context.program
|
|
program = context.program
|
|
|
|
|
|
current_schema = None
|
|
current_schema = None
|