There was an error while loading. Please reload this page.
1 parent 30a1808 commit e641dcbCopy full SHA for e641dcb
1 file changed
refinery/units/sinks/ppxml.py
@@ -61,7 +61,7 @@ def indent(element: Element, level=0, more_sibs=False):
61
if more_sibs:
62
element.tail += pad
63
64
- if root := dom.getroot():
+ if (root := dom.getroot()) is not None:
65
indent(root)
66
67
with io.BytesIO() as output:
0 commit comments