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

[tor-commits] [bridgedb/master] Also remove the "bridge" prefix from returned pluggable transport lines.



commit 20d6171844d275f768229a1a4052a31fd42cd4bd
Author: Isis Lovecruft <isis@xxxxxxxxxxxxxx>
Date:   Mon Aug 12 18:58:45 2013 +0000

    Also remove the "bridge" prefix from returned pluggable transport lines.
---
 lib/bridgedb/Bridges.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/bridgedb/Bridges.py b/lib/bridgedb/Bridges.py
index 98724d8..9fc94e8 100644
--- a/lib/bridgedb/Bridges.py
+++ b/lib/bridgedb/Bridges.py
@@ -464,7 +464,7 @@ class PluggableTransport:
         if isinstance(self.address,ipaddr.IPv6Address):
             address = "[%s]" % self.address
         else: address = self.address
-        host = "bridge %s %s:%d" % (self.methodname, address, self.port)
+        host = "%s %s:%d" % (self.methodname, address, self.port)
         fp = ''
         if includeFingerprint: fp = "keyid=%s" % self.bridge.fingerprint
         args = " ".join(["%s=%s"%(k,v) for k,v in self.argdict.items()]).strip()



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