diff options
author | Wen Liang <liangwen12year@gmail.com> | 2021-05-17 09:56:51 -0400 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2021-05-17 23:28:56 +0200 |
commit | 403d7767308ca6997a309aecf3508f0fc5a30c71 (patch) | |
tree | 51d84a77ad40147e03e2af39e197386b32e14a25 /tools/generate-docs-nm-property-infos.py | |
parent | f6e52708a2d0217bf766cf1421280daf3bacf496 (diff) | |
download | NetworkManager-403d7767308ca6997a309aecf3508f0fc5a30c71.tar.gz |
Remove unnecessary escaping for single quote
When writing XML text with XML library, single quote will not be
escaped. So remove the escaping for single quote in current tool.
Signed-off-by: Wen Liang <liangwen12year@gmail.com>
Diffstat (limited to 'tools/generate-docs-nm-property-infos.py')
-rwxr-xr-x | tools/generate-docs-nm-property-infos.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/generate-docs-nm-property-infos.py b/tools/generate-docs-nm-property-infos.py index 90c51b846f..7286da8f20 100755 --- a/tools/generate-docs-nm-property-infos.py +++ b/tools/generate-docs-nm-property-infos.py @@ -112,7 +112,6 @@ def escape_xml_char(text): text = text.replace("<", "<") text = text.replace(">", ">") text = text.replace('"', """) - text = text.replace("'", "'") return text |