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

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



commit eb529724bc1e664675fe386ebbe3e1666b721558
Author: Isis Lovecruft <isis@xxxxxxxxxxxxxx>
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



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