diff options
-rw-r--r-- | src/components/interfaces/MOBILE_API.xml | 5 | ||||
-rwxr-xr-x | tools/InterfaceGenerator/generator/parsers/RPCBase.py | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/src/components/interfaces/MOBILE_API.xml b/src/components/interfaces/MOBILE_API.xml index 51cb565881..db246f8280 100644 --- a/src/components/interfaces/MOBILE_API.xml +++ b/src/components/interfaces/MOBILE_API.xml @@ -2237,7 +2237,10 @@ <param name="parameterPermissions" type="ParameterPermissions" mandatory="true"/> </struct> - <struct name="DisplayCapabilities" since="1.0"> + <struct name="DisplayCapabilities" deprecated="true" since="6.0"> + <history> + <struct name="DisplayCapabilities" since="1.0" until="6.0"/> + </history> <description>Contains information about the display capabilities.</description> <param name="displayType" type="DisplayType" mandatory="true" deprecated="true" since="5.0"> <description>The type of the display. See DisplayType</description> diff --git a/tools/InterfaceGenerator/generator/parsers/RPCBase.py b/tools/InterfaceGenerator/generator/parsers/RPCBase.py index 21f07e6ac5..955de31dc7 100755 --- a/tools/InterfaceGenerator/generator/parsers/RPCBase.py +++ b/tools/InterfaceGenerator/generator/parsers/RPCBase.py @@ -270,7 +270,7 @@ class Parser(object): result = self._parse_version(attrib[attribute]) until = result elif attribute == "deprecated": - deprecated = attributes[attribute] + deprecated = attrib[attribute] elif attribute == "removed": removed = attrib[attribute] else: |