From f90f7d1413e29a9111669874af5058eb10321eb0 Mon Sep 17 00:00:00 2001 From: JensDiemer Date: Tue, 9 Aug 2011 17:38:26 +0200 Subject: Add child content to raise_unknown_node() --- creole/shared/unknown_tags.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'creole/shared') 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 + ) ) -- cgit v1.2.1