removed exception attributes

This commit is contained in:
Todd Ingarfield 2015-09-24 10:55:24 -05:00
parent a42347e6e7
commit a89bfcf342

View File

@ -171,7 +171,6 @@ class MailNotificationService(BaseNotificationService):
self.mail.sendmail(self._sender, self.recipient, self.mail.sendmail(self._sender, self.recipient,
msg.as_string()) msg.as_string())
break break
except smtplib.SMTPException as err: except smtplib.SMTPException:
_LOGGER.warning('SMTP Exception sending mail: {0}:{1}' _LOGGER.warning('SMTPException sending mail: retrying connection')
.format(err.smtp_code, err.smtp_error))
self.connect() self.connect()