make default xml indent 4 spaces

This commit is contained in:
marius 2016-03-13 23:41:58 +01:00
parent 7a8937fbaf
commit 45a20fd403
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ class XMLConfig:
self._set_elements()
if not output:
output = open(self.filename,'w')
self.xml.writexml(output, "", " ", "\n")
self.xml.writexml(output, "", " "*4, "\n")
print >>output
return self
def _set_elements(self):