Adjust property tag format in nm-property-infos-*.xml

In order to make the generated XML file format consistent before and
after using XML library, adjust `property` tag format.

Signed-off-by: Wen Liang <liangwen12year@gmail.com>
This commit is contained in:
Wen Liang 2021-05-19 07:12:21 -04:00 committed by Thomas Haller
parent 481ccd2ad2
commit dd38eb1f76
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}"></property>\n'.format(
'<property name="{0}" variable="{1}" format="{2}" values="{3}" default="{4}" example="{5}" description="{6}" />\n'.format(
parsed_data["property"],
parsed_data["variable"],
parsed_data["format"],