diff options
author | Danilo Šegan <danilo@src.gnome.org> | 2006-03-31 19:01:29 +0000 |
---|---|---|
committer | Danilo Šegan <danilo@src.gnome.org> | 2006-03-31 19:01:29 +0000 |
commit | ba303bbdaf52b0e29bc141c1d07a7d44f2df4e82 (patch) | |
tree | 25069bcaec58f9f8b15987af69cb53663398f7cc | |
parent | 0e702e2e6d856436c7689c1fe7040f78700a213f (diff) | |
download | gnome-doc-utils-ba303bbdaf52b0e29bc141c1d07a7d44f2df4e82.tar.gz |
Ignore blank child nodes in isFinalNode.
-rwxr-xr-x | xml2po/xml2po.py | 2 |
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: |