Fix the patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python312?expand=0&rev=61
This commit is contained in:
parent
31e91ac782
commit
dd7c725bd1
@ -36,7 +36,7 @@
|
|||||||
+ node_findall = node.findall
|
+ node_findall = node.findall
|
||||||
+ except AttributeError:
|
+ except AttributeError:
|
||||||
+ node_findall = node.traverse
|
+ node_findall = node.traverse
|
||||||
+ for glossary_item in node_findall(definition_list_item):
|
+ for glossary_item in node_findall(nodes.definition_list_item):
|
||||||
term = glossary_item[0].astext()
|
term = glossary_item[0].astext()
|
||||||
definition = glossary_item[-1]
|
definition = glossary_item[-1]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user