Apply fix for bug #814517

merging lp:~tylesmit/quantum/quantum-bug-814517
This commit is contained in:
Salvatore Orlando 2011-07-29 17:36:35 +01:00
commit 2299a05c10
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."""