summaryrefslogtreecommitdiff
path: root/creole/shared
diff options
context:
space:
mode:
authorJensDiemer <git@jensdiemer.de>2011-08-09 17:38:26 +0200
committerJensDiemer <git@jensdiemer.de>2011-08-09 17:38:26 +0200
commitf90f7d1413e29a9111669874af5058eb10321eb0 (patch)
treebca96ea8d5aee2cbff6d121e3d99800494fd074d /creole/shared
parent734a52c0cb9af5088df16062ff77e8de2ee20c5d (diff)
downloadcreole-f90f7d1413e29a9111669874af5058eb10321eb0.tar.gz
Add child content to raise_unknown_node()
Diffstat (limited to 'creole/shared')
-rw-r--r--creole/shared/unknown_tags.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/creole/shared/unknown_tags.py b/creole/shared/unknown_tags.py
index f55f140..b1f266d 100644
--- a/creole/shared/unknown_tags.py
+++ b/creole/shared/unknown_tags.py
@@ -44,8 +44,11 @@ def raise_unknown_node(emitter, node):
Raise NotImplementedError on unknown tags.
"""
+ content = emitter.emit_children(node)
raise NotImplementedError(
- "Node from type '%s' is not implemented!" % node.kind
+ "Node from type '%s' is not implemented! (child content: %r)" % (
+ node.kind, content
+ )
)