[tor-commits] [bridgedb/develop] Remove IPBasedDistributor.rings.

isis at torproject.org isis at torproject.org
Thu Jun 25 07:10:54 UTC 2015


commit 809f447f3c8a7e0023a399de469b77a8b4c2735f
Author: Isis Lovecruft <isis at torproject.org>
Date:   Tue Apr 14 07:25:45 2015 +0000

    Remove IPBasedDistributor.rings.
    
    It was never used.
---
 lib/bridgedb/Dist.py |    5 -----
 1 file changed, 5 deletions(-)

diff --git a/lib/bridgedb/Dist.py b/lib/bridgedb/Dist.py
index 082f002..c9d82c1 100644
--- a/lib/bridgedb/Dist.py
+++ b/lib/bridgedb/Dist.py
@@ -95,10 +95,6 @@ class IPBasedDistributor(Distributor):
     """A Distributor that hands out bridges based on the IP address of an
     incoming request and the current time period.
 
-    :ivar list rings: A list of :class:`bridgedb.Bridges.BridgeHolder`
-        hashrings, one for each area in the ``areaMapper``. Every inserted
-        bridge will go into one of these rings, and every area is associated
-        with one.
     :type proxies: :class:`~bridgedb.proxies.ProxySet`
     :ivar proxies: All known proxies, which we treat differently. See
         :param:`proxies`.
@@ -133,7 +129,6 @@ class IPBasedDistributor(Distributor):
             parameters, i.e. that an answer has "at least two obfsproxy
             bridges" or "at least one bridge on port 443", etc.
         """
-        self.rings = []
         self.answerParameters = answerParameters
         self.numberOfClusters = numberOfClusters
 





More information about the tor-commits mailing list