Index: tools/json_schema_compiler/previewserver.py |
diff --git a/tools/json_schema_compiler/previewserver.py b/tools/json_schema_compiler/previewserver.py |
index 65df25b73df2df6d8ddec1626631e6c8467e7823..2d4105a99782929d645c5e35092f62b3242d3331 100755 |
--- a/tools/json_schema_compiler/previewserver.py |
+++ b/tools/json_schema_compiler/previewserver.py |
@@ -190,12 +190,8 @@ updateEverything(); |
# Get main json file |
api_defs = json_schema.Load(json_file_path) |
namespace = api_model.AddNamespace(api_defs[0], json_file_path) |
- if not namespace: |
- body.Append("<pre>Target file %s is marked nocompile</pre>" % |
- json_file_path) |
- return |
type_generator = cpp_type_generator.CppTypeGenerator( |
- 'preview::api', namespace, namespace.unix_name) |
+ 'previewserver::api', namespace, namespace.unix_name) |
# Get json file depedencies |
for dependency in api_defs[0].get('dependencies', []): |