1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-09-20 01:06:17 +02: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):