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:
parent
e5f5e8ac17
commit
d5c0eb7d68
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user