From 4c90022207baaa61eed32916830722862026c793 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elan=20Ruusam=C3=A4e?= Date: Sun, 23 Sep 2012 19:50:12 +0200 Subject: [PATCH] output cosmetics --- moin2doku.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/moin2doku.py b/moin2doku.py index e7c946d..feb8f34 100755 --- a/moin2doku.py +++ b/moin2doku.py @@ -172,7 +172,6 @@ def convertfile(page, output = None, overwrite = False): for rev in revs: page = Page(request, pagename, rev = rev) pagefile, realrev, exists = page.get_rev(rev = rev); - print "EXISTS loop: %s " % exists mtime = page.mtime_usecs() / USEC @@ -220,6 +219,8 @@ def convertfile(page, output = None, overwrite = False): if old_page != ID: redirect_map[old_page] = ID + print "Converted %s as %s" % (pagename, dw.wikiFN(output)) + return True # @@ -307,7 +308,6 @@ for output, pagename in pages.items(): page = Page(request, pagename) res = convertfile(page, output = output, overwrite = overwrite) if res != None: - print "Converted: %s" % pagename converted += 1 print "Processed %d files, converted %d" % (len(pages), converted)