[airframe editor] reorganize xml in fixed order for comparison - add description

This commit is contained in:
Christophe De Wagter
2018-04-13 15:17:19 +02:00
parent 51de434099
commit 28ef19382c
+2
View File
@@ -44,6 +44,8 @@ def reorganize_airframe_xml(airframe_xml):
else:
airframe.set('name', airframe_xml.getroot().get('name'))
find_and_add(airframe_xml, airframe, "description")
find_or_add_group(airframe_xml, airframe, "FIRMWARE")
find_and_add(airframe_xml, airframe, "firmware")
find_and_add_sections_with_name(airframe_xml, airframe, "AUTOPILOT")