facho/facho.py (LXMLBuilter.tostring): pretty_print se hace False para continuar validacion de pruebas
FossilOrigin-Name: 14ff63e75c7b48ade507eb6e86971b5fda3074156a6355c9e9ab4910e8e88b45
This commit is contained in:
parent
b06537ac75
commit
022519d23c
@ -99,7 +99,7 @@ class LXMLBuilder:
|
|||||||
elem.attrib[key] = value
|
elem.attrib[key] = value
|
||||||
|
|
||||||
def tostring(self, elem, **attrs):
|
def tostring(self, elem, **attrs):
|
||||||
attrs['pretty_print'] = attrs.pop('pretty_print', True)
|
attrs['pretty_print'] = attrs.pop('pretty_print', False)
|
||||||
attrs['encoding'] = attrs.pop('encoding', 'UTF-8')
|
attrs['encoding'] = attrs.pop('encoding', 'UTF-8')
|
||||||
return tostring(elem, **attrs).decode('utf-8')
|
return tostring(elem, **attrs).decode('utf-8')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user