summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorWen Liang <liangwen12year@gmail.com>2021-05-19 07:12:21 -0400
committerThomas Haller <thaller@redhat.com>2021-05-20 10:41:19 +0200
commitdd38eb1f760d6dada8682717a43f10728c3d1904 (patch)
treec09e2bbe2d99e7d94f2f3094ccc2b0fff9ec2757 /tools
parent481ccd2ad2905040a48a7f409386c577ca5d0caa (diff)
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>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/generate-docs-nm-property-infos.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/generate-docs-nm-property-infos.py b/tools/generate-docs-nm-property-infos.py
index 7286da8f20..6eab3ff95d 100755
--- a/tools/generate-docs-nm-property-infos.py
+++ b/tools/generate-docs-nm-property-infos.py
@@ -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"],