Skip to content

Commit 6e63ff5

Browse files
committed
Fix indentation
1 parent 3a76309 commit 6e63ff5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

libpius/mailer.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -301,9 +301,9 @@ def _send_mail(self, to, msg):
301301
# BCC the user...
302302
env_to = [msg['To'], self.mail]
303303

304-
smtp.sendmail(self.mail, env_to, msg.as_string())
305-
smtp.quit()
306-
except smtplib.SMTPException as emsg:
307-
raise MailSendError(emsg)
308-
except socket.error as emsg:
309-
raise MailSendError(emsg)
304+
smtp.sendmail(self.mail, env_to, msg.as_string())
305+
smtp.quit()
306+
except smtplib.SMTPException as emsg:
307+
raise MailSendError(emsg)
308+
except socket.error as emsg:
309+
raise MailSendError(emsg)

0 commit comments

Comments
 (0)