| 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 b0566032b2de48b1802e5108d04eecbcb2c048a8..b516d39c6fb32ee4733408228d0aed6d4265defa 100644
|
| --- a/tools/json_schema_compiler/idl_schema.py
|
| +++ b/tools/json_schema_compiler/idl_schema.py
|
| @@ -223,7 +223,7 @@ class Typeref(object):
|
| properties = self.additional_properties
|
| result = properties
|
|
|
| - if self.parent.GetProperty('OPTIONAL', False):
|
| + if self.parent.GetProperty('OPTIONAL'):
|
| properties['optional'] = True
|
|
|
| # The IDL parser denotes array types by adding a child 'Array' node onto
|
|
|