diff MoinMoin/events/jabbernotify.py @ 2385:53fbdf5899ff

Use the event handling framework to (re)generate xapian indexes.
author Karol 'grzywacz' Nowak <grzywacz@sul.uni.lodz.pl>
date Sat, 14 Jul 2007 18:42:12 +0200
parents 1d60f9aa07d1
children 5d1c31b0c6b5
line wrap: on
line diff
--- a/MoinMoin/events/jabbernotify.py	Sat Jul 14 18:41:44 2007 +0200
+++ b/MoinMoin/events/jabbernotify.py	Sat Jul 14 18:42:12 2007 +0200
@@ -121,7 +121,7 @@
 
     subscribers = page.getSubscribers(request, return_users=1)
     notification.filter_subscriber_list(event, subscribers, True)
-    return page_change("page_renamed", request, page, subscribers, oldname=old.page_name)
+    return page_change("page_renamed", request, page, subscribers, oldname=old_name)
 
 
 def handle_user_created(event):