Project

General

Profile

« Previous | Next » 

Revision 782

xml_dom.py: Fixed conversion of minidom.Node to a string to use toprettyxml() again

View differences:

lib/xml_dom.py
190 190

  
191 191
minidom.Node.__iter__ = lambda self: NodeIter(self)
192 192

  
193
minidom.Node.__str__ = lambda self: self.toxml()
193
minidom.Node.__str__ = lambda self: self.toprettyxml(**toprettyxml_config)
194 194

  
195 195
minidom.Node.pop = lambda self: self.removeChild(self.lastChild)
196 196

  

Also available in: Unified diff