[tor-commits] [bridgedb/develop] Add 'pragma:' directive to	MailMessage.reply() errback function.
    isis at torproject.org 
    isis at torproject.org
       
    Fri Jun  6 20:40:38 UTC 2014
    
    
  
commit 8a71b50e9d7e81de011cb5c92d578e6b69e9fa0f
Author: Isis Lovecruft <isis at torproject.org>
Date:   Wed May 21 04:25:29 2014 +0000
    Add 'pragma:' directive to MailMessage.reply() errback function.
    
    We can't really test it, since it's a nested function. However, we
    shouldn't need to, all it does is log the
    twisted.python.failure.Failure.
---
 lib/bridgedb/email/server.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/bridgedb/email/server.py b/lib/bridgedb/email/server.py
index 2684d00..dd5b4fb 100644
--- a/lib/bridgedb/email/server.py
+++ b/lib/bridgedb/email/server.py
@@ -559,7 +559,7 @@ class MailMessage(object):
         """
         logging.info("Got an email; deciding whether to reply.")
 
-        def _replyEB(fail):
+        def _replyEB(fail):  # pragma: no cover
             """Errback for a :api:`twisted.mail.smtp.SMTPSenderFactory`.
 
             :param fail: A :api:`twisted.python.failure.Failure` which occurred during
    
    
More information about the tor-commits
mailing list