changeset 3535:d0284f4f3ec2

search.Xapian: fix page object for index build
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Sat, 26 Apr 2008 23:19:12 +0200
parents f94bead41c84
children ccabcf273e2f b232964fe38a
files MoinMoin/search/Xapian.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/search/Xapian.py	Sat Apr 26 23:16:48 2008 +0200
+++ b/MoinMoin/search/Xapian.py	Sat Apr 26 23:19:12 2008 +0200
@@ -642,6 +642,7 @@
             logging.debug("indexing all (%d) pages..." % len(pages))
             for pagename in pages:
                 p = Page(request, pagename)
+                request.page = p
                 if request.cfg.xapian_index_history:
                     for rev in p.getRevList():
                         self._index_page(writer,