summaryrefslogtreecommitdiffstats
path: root/rnctree.py
diff options
context:
space:
mode:
authorJan Pokorný <jpokorny@redhat.com>2013-01-21 18:53:11 +0100
committerJan Pokorný <jpokorny@redhat.com>2013-01-21 18:58:18 +0100
commit5e783d96f64342a50050ed6889ff2de4226cfae6 (patch)
treeda9b1188cdd0545677555f5a5061cf6ba9495f66 /rnctree.py
parent73e9f64af524be2fc3a34ee1c473b64d12efbef2 (diff)
downloadrnc2rng-5e783d96f64342a50050ed6889ff2de4226cfae6.tar.gz
rnc2rng-5e783d96f64342a50050ed6889ff2de4226cfae6.tar.xz
rnc2rng-5e783d96f64342a50050ed6889ff2de4226cfae6.zip
Synchronize with http://gnosis.cx/download/relax/rnctree.py
NB. the change is similar to [1]. [1] https://github.com/djmitche/rnc2rng/commit/976aee656cb10dcdd73b627e4757af8b5105708 Signed-off-by: David Mertz/www.gnosis.cx
Diffstat (limited to 'rnctree.py')
-rwxr-xr-x[-rw-r--r--]rnctree.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/rnctree.py b/rnctree.py
index 0735444..799ef03 100644..100755
--- a/rnctree.py
+++ b/rnctree.py
@@ -100,6 +100,8 @@ class Node(object):
write(' '*indent+'<interleave>')
write(x.xmlnode(indent+1))
write(' '*indent+'</interleave>')
+ elif x.type == SEQ:
+ write(x.xmlnode(indent+1))
elif x.type == CHOICE:
write(' '*indent+'<choice>')
write(x.xmlnode(indent+1))