X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/295a1350b069ee750d2f7430e779e5ac6f23a673..af72c4ed58e541d491dafbfe4ecb163662f402b5:/src/librarian/elements/base.py?ds=inline diff --git a/src/librarian/elements/base.py b/src/librarian/elements/base.py index 646067e..8e83311 100644 --- a/src/librarian/elements/base.py +++ b/src/librarian/elements/base.py @@ -278,8 +278,6 @@ class WLElement(etree.ElementBase): # do we dare go up? parent = self.getparent() if parent is not None and parent.CAN_HAVE_TEXT: - print(etree.tostring(self, encoding='unicode')) - assert False words, parsnip = parent.snip(words, before=self) return words, parsnip[:-1] + snippet + parsnip[-1:]