changeset 2066:b73b2b885b02

Add a stub for jabber notification plugin. It currently only prints info about received events.
author Karol 'grzywacz' Nowak <grzywacz@sul.uni.lodz.pl>
date Thu, 31 May 2007 01:03:54 +0200
parents 23d90aae61b5
children 3ca2b7065a05
files MoinMoin/events/JabberNotification.py
diffstat 1 files changed, 14 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/MoinMoin/events/JabberNotification.py	Thu May 31 01:03:54 2007 +0200
@@ -0,0 +1,14 @@
+# -*- coding: iso-8859-1 -*-
+"""
+    MoinMoin - jabber notification plugin from event system
+
+    This code sends notifications using a separate daemon.
+
+@copyright: 2007 by Karol Nowak <grywacz@gmail.com>
+@license: GNU GPL, see COPYING for details.
+"""
+
+# nothing here yet 8)
+
+def handle(event):
+    print event
\ No newline at end of file