changeset 1844:5839f9ffb662 gae

pep8 fixes
author Tarashish Mishra <sunu0000@gmail.com>
date Thu, 01 Nov 2012 22:18:51 +0530
parents 57fa668139cb
children b671d35b10fc
files MoinMoin/mail/sendmail.py
diffstat 1 files changed, 1 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/mail/sendmail.py	Thu Nov 01 21:59:13 2012 +0530
+++ b/MoinMoin/mail/sendmail.py	Thu Nov 01 22:18:51 2012 +0530
@@ -80,8 +80,6 @@
     :rtype: tuple
     :returns: (is_ok, Description of error or OK message)
     """
-    
-
     cfg = app.cfg
     mail_from = mail_from or cfg.mail_from
 
@@ -91,12 +89,8 @@
     if not to and not cc and not bcc:
         return (1, _("No recipients, nothing to do"))
 
-    
-
     # Create a text/plain body using CRLF (see RFC2822)
     text = text.replace(u'\n', u'\r\n')
-    
-
 
     # Send the message
     if app.on_gae:
@@ -158,7 +152,7 @@
                 msg['BCC'] = ','.join(bcc)
             # Set Return-Path so that it isn't set (generally incorrectly) for us.
             msg['Return-Path'] = address
-            
+
         if not cfg.mail_sendmail:
             try:
                 logging.debug("trying to send mail (smtp) via smtp server '{0}'".format(cfg.mail_smarthost))