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

[tor-commits] [bridgedb/develop] Add missing newline separator in the "no bridges" email response.



commit f6f1bd8542b2942f25543604ac06901ae5ef469e
Author: Isis Lovecruft <isis@xxxxxxxxxxxxxx>
Date:   Thu Apr 17 03:34:52 2014 +0000

    Add missing newline separator in the "no bridges" email response.
---
 lib/bridgedb/EmailServer.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/bridgedb/EmailServer.py b/lib/bridgedb/EmailServer.py
index a645dbc..022dd41 100644
--- a/lib/bridgedb/EmailServer.py
+++ b/lib/bridgedb/EmailServer.py
@@ -214,7 +214,7 @@ def getMailResponse(lines, ctx):
                      % (clientAddr, err))
         return None, None
 
-    answer = "(no bridges currently available)"
+    answer = "(no bridges currently available)\n"
     if bridges:
         with_fp = ctx.cfg.EMAIL_INCLUDE_FINGERPRINTS
         answer = "".join("  %s\n" % b.getConfigLine(



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