changeset 2384:2b31b87db417

Make name pep8 compatible.
author Karol 'grzywacz' Nowak <grzywacz@sul.uni.lodz.pl>
date Sat, 14 Jul 2007 18:41:44 +0200
parents 590caeeca03a
children 53fbdf5899ff
files MoinMoin/events/emailnotify.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/events/emailnotify.py	Thu Jul 12 10:47:05 2007 +0200
+++ b/MoinMoin/events/emailnotify.py	Sat Jul 14 18:41:44 2007 +0200
@@ -35,7 +35,7 @@
 
     """
     _ = request.getText
-    mailBody = notification.page_change_message("page_changed", request, page, email_lang, comment=comment, revisions=revisions)
+    body = notification.page_change_message("page_changed", request, page, email_lang, comment=comment, revisions=revisions)
 
     subject = _('[%(sitename)s] %(trivial)sUpdate of "%(pagename)s" by %(username)s', formatted=False) % {
             'trivial': (trivial and _("Trivial ", formatted=False)) or "",
@@ -44,7 +44,7 @@
             'username': page.uid_override or user.getUserIdentification(request),
         }
 
-    return {'subject': subject, 'body': mailBody}
+    return {'subject': subject, 'body': body}
 
 
 def send_notification(request, from_address, emails, data):