diff MoinMoin/events/__init__.py @ 2356:1d60f9aa07d1

Email notification about new attachments. Some i18n issues left to be fixed.
author Karol 'grzywacz' Nowak <grzywacz@sul.uni.lodz.pl>
date Wed, 11 Jul 2007 02:50:00 +0200
parents 1d85514968a2
children 53fbdf5899ff
line wrap: on
line diff
--- a/MoinMoin/events/__init__.py	Tue Jul 10 20:56:18 2007 +0200
+++ b/MoinMoin/events/__init__.py	Wed Jul 11 02:50:00 2007 +0200
@@ -77,11 +77,11 @@
     description = u"""A new attachment has been added"""
     req_superuser = False
 
-    def __init__(self, request, pagename, attachment_name, size):
+    def __init__(self, request, pagename, name, size):
         PageEvent.__init__(self, request)
         self.request = request
         self.pagename = pagename
-        self.attachment_name = attachment_name
+        self.name = name
         self.size = size