changeset 2623:5fd1c6bfe525

fix docbook_in incorrect call arguments
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 08 Jun 2014 15:26:32 +0200
parents c5e749f0c1f9
children fa6943d4dac7
files MoinMoin/converter/docbook_in.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/converter/docbook_in.py	Sun Jun 08 15:26:09 2014 +0200
+++ b/MoinMoin/converter/docbook_in.py	Sun Jun 08 15:26:32 2014 +0200
@@ -826,7 +826,7 @@
                     new.extend(item_tag)
                     counter += 1
                 else:
-                    r = self.visit(child)
+                    r = self.visit(child, depth)
                     if r is None:
                         r = ()
                     elif not isinstance(r, (list, tuple)):
@@ -862,7 +862,7 @@
                     if child.tag.name == 'seglistitem':
                         r = self.visit_docbook_seglistitem(child, labels, depth)
                     else:
-                        r = self.visit(child)
+                        r = self.visit(child, depth)
                     if r is None:
                         r = ()
                     elif not isinstance(r, (list, tuple)):