autoxml: Remove redundant check

This commit is contained in:
Fatih Aşıcı
2011-06-22 07:00:19 +00:00
parent 65330b8c3e
commit 7b0fbb2421
+1 -1
View File
@@ -771,7 +771,7 @@ class autoxml(oo.autosuper, oo.autoprop):
return l
def encode(node, l, errs):
if l and len(l) > 0:
if l:
for item in l:
if list_tagpath:
listnode = xmlext.addNode(node, list_tagpath, branch = False)