changeset 396:3c1d17e77d1c

Return removed line for converting backend revision to whoosh index
author Michael Mayorov <marchael@kb.csu.ru>
date Wed, 03 Aug 2011 15:07:33 +0000
parents e57259c40f74
children 65c2c01aa266
files MoinMoin/storage/backends/indexing.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/storage/backends/indexing.py	Wed Aug 03 10:39:58 2011 +0000
+++ b/MoinMoin/storage/backends/indexing.py	Wed Aug 03 15:07:33 2011 +0000
@@ -408,6 +408,7 @@
         if not latest_found_document or int(revno) > latest_found_document["rev_no"]:
             field_names = self.index_object.latest_revisions_index.schema.names()
             with AsyncWriter(self.index_object.latest_revisions_index) as async_writer:
+                converted_rev = backend_to_index(metas, revno, field_names, self.wikiname)
                 logging.debug("LATEST: Updating %s %s from last", converted_rev[UUID], converted_rev["rev_no"])
                 async_writer.update_document(**converted_rev)