diff options
author | jacobkeeler <jacob.keeler@livioradio.com> | 2017-09-22 11:13:55 -0400 |
---|---|---|
committer | jacobkeeler <jacob.keeler@livioradio.com> | 2017-09-22 11:14:22 -0400 |
commit | ccd116fb17a2a769855a3a35303386961354c207 (patch) | |
tree | b3881d5ef755f832896d156f64c768b72c87b23d /tools/InterfaceGenerator/generator | |
parent | 761523db24c1276311389f2500f92d945cedb25e (diff) | |
download | sdl_core-ccd116fb17a2a769855a3a35303386961354c207.tar.gz |
Update MOBILE_API.xml to match `rpc_spec` repofix/update_mobile_api_4.4.0
Includes fixes to build issues resulting from this update.
Diffstat (limited to 'tools/InterfaceGenerator/generator')
-rwxr-xr-x | tools/InterfaceGenerator/generator/parsers/RPCBase.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/InterfaceGenerator/generator/parsers/RPCBase.py b/tools/InterfaceGenerator/generator/parsers/RPCBase.py index 59edf4a9b3..4853916dad 100755 --- a/tools/InterfaceGenerator/generator/parsers/RPCBase.py +++ b/tools/InterfaceGenerator/generator/parsers/RPCBase.py @@ -655,7 +655,11 @@ class Parser(object): raise ParseError("Unexpected attributes for element '" + element_name + "' of parameter '" + params["name"]) - if len(subelement.getchildren()) != 0: + children = subelement.getchildren() + for child in children: + if child.tag == "description": + children.remove(child) + if len(children) != 0: raise ParseError("Unexpected subelements for element '" + element_name + "' of parameter '" + params["name"]) |