mirror of
https://github.com/openSUSE/osc.git
synced 2025-09-07 13:48:43 +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:
@@ -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):
|
||||
|
Reference in New Issue
Block a user