From 45a20fd4031e0b2e0fa873ad3d39d372cb9f3abc Mon Sep 17 00:00:00 2001 From: marius Date: Sun, 13 Mar 2016 23:41:58 +0100 Subject: [PATCH] make default xml indent 4 spaces --- py/Boinc/boincxml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py/Boinc/boincxml.py b/py/Boinc/boincxml.py index b5282eb529..b5fcc19261 100644 --- a/py/Boinc/boincxml.py +++ b/py/Boinc/boincxml.py @@ -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):