Resolving Bug 814517 which caused XML to have extra whitespace.

This commit is contained in:
Tyler Smith 2011-07-27 07:33:09 -07:00
parent 9793971bc2
commit 68a82b8622
1 changed files with 1 additions and 1 deletions

View File

@ -482,7 +482,7 @@ class Serializer(object):
if not xmlns and self.default_xmlns:
node.setAttribute('xmlns', self.default_xmlns)
return node.toprettyxml(indent=' ')
return node.toprettyxml(indent='', newl='')
def _to_xml_node(self, doc, metadata, nodename, data):
"""Recursive method to convert data members to XML nodes."""