commit 3e34dfdc2c841da487d50ffcb9dd17f546c3f8a3 Author: Isis Lovecruft isis@torproject.org Date: Wed May 21 04:23:42 2014 +0000
Fix misnamed methods in MailMessage.reply() docstring. --- lib/bridgedb/email/server.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/lib/bridgedb/email/server.py b/lib/bridgedb/email/server.py index 43acd99..2684d00 100644 --- a/lib/bridgedb/email/server.py +++ b/lib/bridgedb/email/server.py @@ -545,12 +545,12 @@ class MailMessage(object): def reply(self): """Reply to an incoming email. Maybe.
- If no `response` is returned from :func:`createMailResponse`, then the - incoming email will not be responded to at all. This can happen for - several reasons, for example: if the DKIM signature was invalid or - missing, or if the incoming email came from an unacceptable domain, or - if there have been too many emails from this client in the allotted - time period. + If nothing is returned from either :func:`createResponseBody` or + :func:`generateResponse`, then the incoming email will not be + responded to at all. This can happen for several reasons, for example: + if the DKIM signature was invalid or missing, or if the incoming email + came from an unacceptable domain, or if there have been too many + emails from this client in the allotted time period.
:rtype: :api:`twisted.internet.defer.Deferred` :returns: A ``Deferred`` which will callback when the response has
tor-commits@lists.torproject.org