(node)
| 41 | minidom.Node.toprettyxml = _toprettyxml_node |
| 42 | |
| 43 | def _collapse(node): |
| 44 | for child in node.childNodes: |
| 45 | if child.nodeType == Node.TEXT_NODE and len(child.data.strip()) == 0: |
| 46 | child.data = '' |
| 47 | else: |
| 48 | _collapse(child) |
| 49 | |
| 50 | def _writexml_text(self, writer, indent="", addindent="", newl=""): |
| 51 | minidom._write_data(writer, "%s"%(self.data.strip())) |
no outgoing calls
no test coverage detected
searching dependent graphs…