comparison MoinMoin/events/EmailNotification.py @ 2059:855d73886dae

Add a pseudo-plugin for testing. Email notification from PageEditor will be moved here.
author Karol 'grzywacz' Nowak <grzywacz@sul.uni.lodz.pl>
date Tue, 29 May 2007 18:59:40 +0200
parents
children c60fcb00dfa6
comparison
equal deleted inserted replaced
2058:fb6f1de06be0 2059:855d73886dae
1 # -*- coding: iso-8859-1 -*-
2 """
3 MoinMoin - email notification plugin from event system
4
5 This code sends email notifications about page changes.
6
7 @copyright: 2007 by Karol Nowak <grywacz@gmail.com>
8 @license: GNU GPL, see COPYING for details.
9 """
10
11 from MoinMoin.events import *
12
13 def handle(event):
14 if event.__class__ is PageChangedEvent:
15 print event