Skip to content

Commit

Permalink
Fix xml indent() on Python 3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
dmach committed Jul 18, 2023
1 parent c22aceb commit 658f2ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osc/_private/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def __init__(self, xml_root, apiurl=None):
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):
Expand Down

0 comments on commit 658f2ac

Please sign in to comment.