1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-27 02:16:12 +01:00

Merge branch 'remove_etree_getchildren' of https://github.com/marcus-h/osc

Do not use the deprecated Element.getchildren anymore.
This commit is contained in:
Marcus Huewe 2021-03-28 21:10:30 +02:00
commit 3c9ee7545e

View File

@ -7139,7 +7139,7 @@ def stripETxml(node):
node.tail = None
if node.text != None:
node.text = node.text.replace(" ", "").replace("\n", "")
for child in node.getchildren():
for child in node:
stripETxml(child)
def addGitSource(url):