X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/295a1350b069ee750d2f7430e779e5ac6f23a673..c7734daf3d6884c358f1644c1f8f7970453fafb1:/src/librarian/elements/base.py 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:]