Index: tools/json_schema_compiler/features_compiler.py |
diff --git a/tools/json_schema_compiler/features_compiler.py b/tools/json_schema_compiler/features_compiler.py |
index 1e4e81ada763bdf6e396169e0d9fb515b72fdfed..cb3f7ef683941d76fb01c8398c75fa92193460e9 100755 |
--- a/tools/json_schema_compiler/features_compiler.py |
+++ b/tools/json_schema_compiler/features_compiler.py |
@@ -23,7 +23,9 @@ def _GenerateSchema(filename, root, destdir, namespace): |
# Load in the feature permissions from the JSON file. |
schema = os.path.normpath(filename) |
schema_loader = SchemaLoader(os.path.dirname(os.path.relpath(schema, root)), |
- os.path.dirname(schema)) |
+ os.path.dirname(schema), |
+ [], |
+ None) |
schema_filename = os.path.splitext(schema)[0] |
feature_defs = schema_loader.LoadSchema(schema) |