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:
commit
3c9ee7545e
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user