changeset 2350:61829d040c63

Don't send html-formatted notifications.
author Karol 'grzywacz' Nowak <grzywacz@sul.uni.lodz.pl>
date Tue, 10 Jul 2007 17:57:58 +0200
parents 4d97c3df9677
children 2b4ae7c40bfa
files MoinMoin/events/emailnotify.py jabberbot/xmlrpcbot.py
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/events/emailnotify.py	Tue Jul 10 15:08:08 2007 +0200
+++ b/MoinMoin/events/emailnotify.py	Tue Jul 10 17:57:58 2007 +0200
@@ -104,9 +104,9 @@
     body = _("""Dear Superuser, a new user has just been created. Details follow:
     
     User name: %(username)s
-    Email address: %(useremail)s)""") % {
+    Email address: %(useremail)s""", formatted=False) % {
          'username': event.user.name,
-         'useremail': email
+         'useremail': email,
          }
 
     from_address = cfg.mail_from
--- a/jabberbot/xmlrpcbot.py	Tue Jul 10 15:08:08 2007 +0200
+++ b/jabberbot/xmlrpcbot.py	Tue Jul 10 17:57:58 2007 +0200
@@ -114,7 +114,7 @@
         msg = u"""Credentials check failed, you may be unable to see all information."""
         warning = cmd.NotificationCommand([jid], msg)
         self.commands_out.put_nowait(warning)
-        
+
     def get_page(self, command):
         """Returns a raw page"""