summaryrefslogtreecommitdiffstats
path: root/tools/json_schema_compiler/schema_loader.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/json_schema_compiler/schema_loader.py')
-rw-r--r--tools/json_schema_compiler/schema_loader.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/tools/json_schema_compiler/schema_loader.py b/tools/json_schema_compiler/schema_loader.py
index 80f1d3f..9fea1ab 100644
--- a/tools/json_schema_compiler/schema_loader.py
+++ b/tools/json_schema_compiler/schema_loader.py
@@ -59,8 +59,5 @@ class SchemaLoader(object):
else:
sys.exit('Did not recognize file extension %s for schema %s' %
(schema_extension, schema))
- if len(api_defs) != 1:
- sys.exit('File %s has multiple schemas. Files are only allowed to contain'
- 'a single schema.' % schema)
return api_defs