summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanilo Šegan <danilo@src.gnome.org>2006-03-31 19:01:29 +0000
committerDanilo Šegan <danilo@src.gnome.org>2006-03-31 19:01:29 +0000
commitba303bbdaf52b0e29bc141c1d07a7d44f2df4e82 (patch)
tree25069bcaec58f9f8b15987af69cb53663398f7cc
parent0e702e2e6d856436c7689c1fe7040f78700a213f (diff)
downloadgnome-doc-utils-ba303bbdaf52b0e29bc141c1d07a7d44f2df4e82.tar.gz
Ignore blank child nodes in isFinalNode.
-rwxr-xr-xxml2po/xml2po.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/xml2po/xml2po.py b/xml2po/xml2po.py
index 2af4072..f46427f 100755
--- a/xml2po/xml2po.py
+++ b/xml2po/xml2po.py
@@ -260,7 +260,7 @@ def isFinalNode(node):
final_children = 1
child = node.children
while child and final_children:
- if not isFinalNode(child):
+ if not child.isBlankNode() and not isFinalNode(child):
final_children = 0
child = child.next
if final_children: