diff MoinMoin/events/__init__.py @ 2638:6e84127a1860

Finally all known bugs fixed, OOB is used to send links with jabber. More... Changed the way notifications are called. Notification data is now stored in dicts, instead of separate arguments. This helps extensibility if more extensions like OOB Data are to be added in the future. Also fixed some previously missed bugs.
author Karol 'grzywacz' Nowak <grzywacz@sul.uni.lodz.pl>
date Sun, 05 Aug 2007 22:46:04 +0200
parents f42fb1ae0a38
children c6e39279f83b
line wrap: on
line diff
--- a/MoinMoin/events/__init__.py	Fri Aug 03 17:25:27 2007 +0200
+++ b/MoinMoin/events/__init__.py	Sun Aug 05 22:46:04 2007 +0200
@@ -115,11 +115,11 @@
     description = _(u"""A new attachment has been added""")
     req_superuser = False
 
-    def __init__(self, request, pagename, name, size):
+    def __init__(self, request, pagename, filename, size):
         PageEvent.__init__(self, request)
         self.request = request
         self.pagename = pagename
-        self.name = name
+        self.filename = filename
         self.size = size