Monotone-Parent: d35569adb5f95d077a2e359cae7af87c6ba720d1

Monotone-Revision: 07373a01b29415522044be3734f2799491696ebc

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2009-08-05T16:44:45
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2009-08-05 16:44:45 +00:00
parent e94b025ae9
commit 3fff395160
+3 -4
View File
@@ -204,11 +204,10 @@ class _WD_XMLTreeElement:
if ns_text is not None:
text = text + ns_text
count = len(self.children)
if count > 0:
if len(self.children) > 0:
text = text + ">"
for x in range(0, count):
text = text + self.children[x].render()
for child in self.children:
text = text + child.render()
text = text + "</" + self.tag + ">"
else:
text = text + "/>"