mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-10 02:45:08 +00:00
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:
+3
-4
@@ -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 + "/>"
|
||||
|
||||
Reference in New Issue
Block a user