| Index: tools/json_schema_compiler/idl_schema.py
|
| diff --git a/tools/json_schema_compiler/idl_schema.py b/tools/json_schema_compiler/idl_schema.py
|
| index 0556236be4fa25bb35cdc4ac5d5514f2b3465397..b753e6ab8d4b2b093160c42cae18ef7617105a81 100644
|
| --- a/tools/json_schema_compiler/idl_schema.py
|
| +++ b/tools/json_schema_compiler/idl_schema.py
|
| @@ -10,7 +10,6 @@ import re
|
| import sys
|
|
|
| from json_parse import OrderedDict
|
| -import schema_util
|
|
|
| # This file is a peer to json_schema.py. Each of these files understands a
|
| # certain format describing APIs (either JSON or IDL), reads files written
|
| @@ -106,7 +105,7 @@ class Callspec(object):
|
| # Instead we infer any object return values to be optional.
|
| # TODO(asargent): fix the IDL parser to support optional return types.
|
| if return_type.get('type') == 'object' or '$ref' in return_type:
|
| - return_type['optional'] = True;
|
| + return_type['optional'] = True
|
| for node in self.node.children:
|
| parameter = Param(node).process(callbacks)
|
| if parameter['name'] in self.comment:
|
|
|