changeset 4573:9da09d8ebb04

email attachments import with xapian indexing enabled: fix AttributeError
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Wed, 11 Feb 2009 02:01:10 +0100
parents 68d29223dfa9
children 9a34e851b8bb
files MoinMoin/events/xapian_index.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/events/xapian_index.py	Tue Feb 10 13:08:03 2009 +0100
+++ b/MoinMoin/events/xapian_index.py	Wed Feb 11 02:01:10 2009 +0100
@@ -61,7 +61,7 @@
         from MoinMoin.search.Xapian import Index
         index = Index(request)
         if index.exists():
-            index.update_page(request.page.page_name)
+            index.update_page(event.pagename)
 
 
 def handle(event):