0
0
mirror of https://github.com/django/django.git synced 2024-11-29 14:46:18 +01:00

Removed unused variable in django/core/mail/backends/smtp.py.

This commit is contained in:
Tim Graham 2016-10-05 11:16:45 -04:00
parent e5f5e8ac17
commit d5c0eb7d68

View File

@ -72,7 +72,7 @@ class EmailBackend(BaseEmailBackend):
if self.username and self.password:
self.connection.login(force_str(self.username), force_str(self.password))
return True
except (smtplib.SMTPException, socket.error) as e:
except (smtplib.SMTPException, socket.error):
if not self.fail_silently:
raise