1
0
mirror of https://github.com/django/django.git synced 2025-03-31 11:37:06 +00:00
Jon Dufresne 9b9c8c4a81 Fixed #27368 -- Modifed BaseEmailBackend.__enter__() to close the connection if an exception occurs.
Fixes unclosed socket ResourceWarning in mail test.

Thanks Claude Paroz for the review.
2016-10-21 05:59:07 -07:00
..
2015-02-06 08:47:38 -05:00