[tor-commits] [bridgedb/master] Add more logging to add() in bridgedb.proxy.ProxySet.

isis at torproject.org isis at torproject.org
Sat Mar 21 02:02:56 UTC 2015


commit eb529724bc1e664675fe386ebbe3e1666b721558
Author: Isis Lovecruft <isis at torproject.org>
Date:   Tue Feb 10 07:53:38 2015 +0000

    Add more logging to add() in bridgedb.proxy.ProxySet.
---
 lib/bridgedb/proxy.py |    1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/bridgedb/proxy.py b/lib/bridgedb/proxy.py
index d954213..6b6f6ac 100644
--- a/lib/bridgedb/proxy.py
+++ b/lib/bridgedb/proxy.py
@@ -164,6 +164,7 @@ class ProxySet(MutableSet):
         ip = isIPAddress(ip)
         if ip:
             if self._proxies.isdisjoint(set(ip)):
+                logging.debug("Adding %s to proxy list %r..." % (ip, self))
                 self._proxies.add(ip)
                 self._proxydict[ip] = tag if tag else time.time()
                 return True





More information about the tor-commits mailing list