From de972b0374afdd0122734f8def6084fd5f42014d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elan=20Ruusam=C3=A4e?= Date: Tue, 18 Sep 2012 02:04:29 +0200 Subject: [PATCH] simplify as pagedir already is set --- moin2doku.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moin2doku.py b/moin2doku.py index 9834faa..eddc4bf 100755 --- a/moin2doku.py +++ b/moin2doku.py @@ -145,7 +145,7 @@ def convert_editlog(pagedir, overwrite = False): changes = [] pagedir = os.path.abspath(pagedir) pagename = wikiname(pagedir) - pagelog = Page(request, pagename).getPagePath('edit-log', use_underlay = 0, isfile = 1) + pagelog = os.path.join(pagedir, 'edit-log') edit_log = editlog.EditLog(request, filename = pagelog) USEC = 1000000 for log in edit_log: