mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-07-21 10:14:41 +00:00
tools: fix python2 compatibility in "generate-docs-nm-settings-docs-merge.py"
Fixes: 42aa225185
('docs: better handle description tags in generate-docs-nm-settings-docs-merge.py')
This commit is contained in:
parent
4528ae44bc
commit
6dad817c05
|
@ -144,7 +144,8 @@ def find_description(properties_attrs):
|
|||
else:
|
||||
s = ET.tostring(p_elem_docbook)
|
||||
raise Exception(
|
||||
f"We expect both a <description> and <description-docbook> tag, but we only have {s}"
|
||||
"We expect both a <description> and <description-docbook> tag, but we only have %s"
|
||||
% (s,)
|
||||
)
|
||||
return p_elem, p_elem_docbook
|
||||
|
||||
|
|
Loading…
Reference in a new issue