[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [bridgedb/master] Remove two spaces before start of bridgelines on HTTPS distributor.
commit 7e79bc05e77aa87a06ea0e1ad5e329a92e7a8dc0
Author: Isis Lovecruft <isis@xxxxxxxxxxxxxx>
Date: Thu Jan 8 14:02:18 2015 +0000
Remove two spaces before start of bridgelines on HTTPS distributor.
* CHANGE bridge lines created by the HTTPS distributor to not begin
with two space characters.
* FIXES #13123: https://bugs.torproject.org/13123
---
lib/bridgedb/HTTPServer.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/bridgedb/HTTPServer.py b/lib/bridgedb/HTTPServer.py
index 464ae0d..6aebba1 100644
--- a/lib/bridgedb/HTTPServer.py
+++ b/lib/bridgedb/HTTPServer.py
@@ -750,7 +750,7 @@ class WebResourceBridges(resource.Resource):
self.nBridgesToGive,
countryCode,
bridgeFilterRules=rules)
- bridgeLines = "".join(" %s\n" % b.getConfigLine(
+ bridgeLines = "".join("%s\n" % b.getConfigLine(
includeFingerprint=self.includeFingerprints,
addressClass=addressClass,
transport=transport,
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits