commit 20d6171844d275f768229a1a4052a31fd42cd4bd Author: Isis Lovecruft isis@torproject.org 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@lists.torproject.org