mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-11-15 16:12:51 +11:00
Added a smtp comment
This commit is contained in:
parent
9b7a252bc9
commit
ecf7653bf9
1 changed files with 4 additions and 0 deletions
|
@ -7,6 +7,10 @@ from subprocess import Popen, PIPE
|
||||||
|
|
||||||
|
|
||||||
class EmailBackend(BaseEmailBackend):
|
class EmailBackend(BaseEmailBackend):
|
||||||
|
"""
|
||||||
|
EmailBackend that uses a local 'sendmail' binary instead of a local
|
||||||
|
SMTP daemon.
|
||||||
|
"""
|
||||||
def __init__(self, fail_silently=False, **kwargs):
|
def __init__(self, fail_silently=False, **kwargs):
|
||||||
super(EmailBackend, self).__init__(fail_silently=fail_silently)
|
super(EmailBackend, self).__init__(fail_silently=fail_silently)
|
||||||
self._lock = threading.RLock()
|
self._lock = threading.RLock()
|
||||||
|
|
Loading…
Reference in a new issue