Chromium Code Reviews| Index: tools/json_schema_compiler/compiler.py |
| diff --git a/tools/json_schema_compiler/compiler.py b/tools/json_schema_compiler/compiler.py |
| index 38235e07f9c9833705f99c341b718ad1db3fdb11..1d0884152e057200c1ca8f54e65cd6594960060b 100755 |
| --- a/tools/json_schema_compiler/compiler.py |
| +++ b/tools/json_schema_compiler/compiler.py |
| @@ -78,7 +78,7 @@ def handle_single_schema(filename, dest_dir, root, root_namespace): |
| continue |
| type_generator.AddNamespace( |
| referenced_namespace, |
| - referenced_namespace.unix_name) |
| + referenced_namespace.name) |
|
cduvall
2012/04/27 22:28:52
This should be |name| because the files are saved
Yoyo Zhou
2012/05/01 00:21:58
This is a tangent, but it's a bummer that there ar
cduvall
2012/05/01 00:31:51
Yeah, it is too bad that fileName has been used. I
cduvall
2012/05/01 00:48:54
Just talked to kalman, he wants the files to be na
|
| h_code = (h_generator.HGenerator(namespace, type_generator) |
| .Generate().Render()) |
| @@ -120,7 +120,7 @@ def handle_bundle_schema(filenames, dest_dir, root, root_namespace): |
| for referenced_namespace in api_model.namespaces.values(): |
| type_generator.AddNamespace( |
| referenced_namespace, |
| - referenced_namespace.unix_name) |
| + referenced_namespace.name) |
| generator = schema_bundle_generator.SchemaBundleGenerator( |
| api_model, api_defs, type_generator) |