Commits

Tarashish Mishra committed 5839f9f

pep8 fixes

Comments (0)

Files changed (1)

MoinMoin/mail/sendmail.py

     :rtype: tuple
     :returns: (is_ok, Description of error or OK message)
     """
-    
-
     cfg = app.cfg
     mail_from = mail_from or cfg.mail_from
 
     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:
                 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))