[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [bridgedb/develop] PEP8 whitespace fixes for EmailServer.replyToMail().



commit cae8198956404771b3467581a5db5758df89ce59
Author: Isis Lovecruft <isis@xxxxxxxxxxxxxx>
Date:   Mon Mar 17 03:02:24 2014 +0000

    PEP8 whitespace fixes for EmailServer.replyToMail().
---
 lib/bridgedb/EmailServer.py |    9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/lib/bridgedb/EmailServer.py b/lib/bridgedb/EmailServer.py
index 8fb0d8a..79239c7 100644
--- a/lib/bridgedb/EmailServer.py
+++ b/lib/bridgedb/EmailServer.py
@@ -251,19 +251,18 @@ def replyToMail(lines, ctx):
     """
     logging.info("Got an email; deciding whether to reply.")
     sendToUser, response = getMailResponse(lines, ctx)
+
     if response is None:
         logging.debug("getMailResponse() said not to reply to %s, so I won't."
                       % Util.logSafely(sendToUser))
         return
+
     response.seek(0)
     logging.info("Sending reply to %r", Util.logSafely(sendToUser))
 
     d = Deferred()
-    factory = twisted.mail.smtp.SMTPSenderFactory(
-        ctx.smtpFromAddr,
-        sendToUser,
-        response,
-        d)
+    factory = twisted.mail.smtp.SMTPSenderFactory(ctx.smtpFromAddr, sendToUser,
+                                                  response, d)
     reactor.connectTCP(ctx.smtpServer, ctx.smtpPort, factory)
 
     return d



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits