From da1671a1c83e6427894f97248f0f4f1a8cbcb48b Mon Sep 17 00:00:00 2001 From: Oliver Gerlich Date: Tue, 4 Mar 2008 22:30:34 +0100 Subject: [PATCH] fix indentation in output of Tag.prettyPrint() --- xmldict.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xmldict.py b/xmldict.py index 59a9e62..246dd72 100644 --- a/xmldict.py +++ b/xmldict.py @@ -58,10 +58,10 @@ class Tag: s += "\n" for k in self.d: if type(self.d[k]) == type(self): - s += self.d[k].prettyPrint(indent + 1) + s += " " + self.d[k].prettyPrint(indent + 1) else: for e in self.d[k]: - s += "- " + e.prettyPrint(indent + 1) + s += "-" + e.prettyPrint(indent + 1) return s def __str__(self): -- 2.11.4.GIT