From e3e93b885ae35a16838bad05f9ccbb75140bd55d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elan=20Ruusam=C3=A4e?= Date: Tue, 18 Sep 2012 02:21:24 +0200 Subject: [PATCH] for now, convert edit-log for active pages only --- moin2doku.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/moin2doku.py b/moin2doku.py index 73537a4..8ef7e09 100755 --- a/moin2doku.py +++ b/moin2doku.py @@ -179,9 +179,6 @@ def convertfile(pagedir, overwrite = False): pagedir = os.path.abspath(pagedir) print "-> %s" % pagedir - # convert edit-log, it's always present even if current page is not - convert_editlog(pagedir, overwrite = overwrite) - curr_rev = get_current_revision(pagedir) if curr_rev == None: print "SKIP %s: no current revision" % pagedir @@ -219,6 +216,9 @@ def convertfile(pagedir, overwrite = False): ns = dw.getNS(dw.cleanID(pagename)) copy_attachments(pagedir, ns) + # convert edit-log, it's always present even if current page is not + convert_editlog(pagedir, overwrite = overwrite) + return 1 #