mirror of
https://github.com/Hopiu/django.git
synced 2026-03-27 11:20:24 +00:00
Removed unused variable in django/core/mail/backends/smtp.py.
This commit is contained in:
parent
e5f5e8ac17
commit
d5c0eb7d68
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue