diff MoinMoin/events/__init__.py @ 2094:9ee68c8b409b

Style fixes as suggested by Thomas.
author Karol 'grzywacz' Nowak <grzywacz@sul.uni.lodz.pl>
date Tue, 05 Jun 2007 00:38:41 +0200
parents 7af58454aafa
children 258d6e648eca
line wrap: on
line diff
--- a/MoinMoin/events/__init__.py	Tue Jun 05 00:38:25 2007 +0200
+++ b/MoinMoin/events/__init__.py	Tue Jun 05 00:38:41 2007 +0200
@@ -29,11 +29,13 @@
         
 class PageEvent(Event):
     """An event related to a page change"""
+    def __init__(self, request):
+        Event.__init__(self, request)
 
         
 class PageChangedEvent(PageEvent):
     def __init__(self, request, page, comment, trivial):
-        Event.__init__(self, request)
+        PageEvent.__init__(self, request)
         self.page = page
         self.comment = comment
         self.trivial = trivial
@@ -49,7 +51,7 @@
 
 class PageRevertedEvent(PageEvent):
     def __init__(self, request, pagename, previous, current):
-        Event.__init__(self, request)
+        PageEvent.__init__(self, request)
         self.pagename = pagename
         self.previous = previous
         self.current = current    
@@ -57,7 +59,7 @@
 
 class SubscribedToPageEvent(PageEvent):
     def __init__(self, request, pagename, username):
-        Event.__init__(self, request)    
+        PageEvent.__init__(self, request)    
         self.pagename = pagename
         self.username = username