Add paired property tag to nm-property-infos-*.xml

In order to make the generated XML file format consistent before and
after using XML library, replace self-closing `property` tag with
paired `property` tag.

Signed-off-by: Wen Liang <liangwen12year@gmail.com>
This commit is contained in:
Wen Liang 2021-05-06 10:54:04 -04:00 committed by Thomas Haller
parent 90422ddd1a
commit f6e52708a2
No known key found for this signature in database
GPG key ID: 29C2366E4DFC5728

View file

@ -95,7 +95,7 @@ def process_data(data):
def write_data(outfile, parsed_data):
outfile.write(
'<property name="{0}" variable="{1}" format="{2}" values="{3}" default="{4}" example="{5}" description="{6}"/>\n'.format(
'<property name="{0}" variable="{1}" format="{2}" values="{3}" default="{4}" example="{5}" description="{6}"></property>\n'.format(
parsed_data["property"],
parsed_data["variable"],
parsed_data["format"],