mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-24 03:02:12 +01:00
Fix xml indent() on Python 3.6
This commit is contained in:
parent
c22aceb28d
commit
658f2acb4f
@ -10,7 +10,7 @@ class APIXMLBase:
|
||||
self.apiurl = apiurl
|
||||
|
||||
def to_bytes(self):
|
||||
ET.indent(self.root, space=" ", level=0)
|
||||
api.xml_indent(self.root)
|
||||
return ET.tostring(self.root, encoding="utf-8")
|
||||
|
||||
def to_string(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user