From 6ccf75c3953fd8516d74848c96ba6bd2275d7c93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elan=20Ruusam=C3=A4e?= Date: Sat, 22 Sep 2012 20:32:04 +0200 Subject: [PATCH] hide underlay pages early --- moin2doku.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/moin2doku.py b/moin2doku.py index 9c4c674..95df5c1 100755 --- a/moin2doku.py +++ b/moin2doku.py @@ -289,7 +289,11 @@ else: filter = name_filter # get list of all pages in wiki + # hide underlay dir temporarily + underlay_dir = request.rootpage.cfg.data_underlay_dir + request.rootpage.cfg.data_underlay_dir = None pages = request.rootpage.getPageDict(user = '', exists = not convert_attic, filter = filter) + request.rootpage.cfg.data_underlay_dir = underlay_dir # insert frontpage, # so that MoinMoin frontpage gets saved as DokuWiki frontpage based on their configs