Commit ac10da5d authored by tvincent's avatar tvincent
Browse files

Mise a jour du script pour dumper le wiki

parent 5e41a0c6
......@@ -49,7 +49,7 @@ les
contient donc les infos pour configurer correctement votre connexion.
<div id="title"><h1>%(pagenamewithlinks)s</h1></div>
......@@ -63,7 +63,7 @@ Cette page a
import os, time, StringIO, codecs, shutil, re
from MoinMoin import config, wikiutil, Page
from MoinMoin.scripts import _util
from MoinMoin.script import _util
from MoinMoin.request import RequestCLI
from MoinMoin.action import AttachFile
......@@ -137,7 +137,7 @@ class MoinDump(_util.Script):
out = StringIO.StringIO()
request.redirect(out) = page
request.remote_addr = ''
request.remote_addr = ''
page.send_page(request, count_hit=0, content_only=1)
pagehtml = out.getvalue()
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment