commit c6230c237f161d67e0002a80d98c41f73dfced0e Author: Isis Lovecruft isis@torproject.org Date: Fri Nov 15 15:36:51 2013 +0000
Make the logs clearly state which distributor bridges are being inserted into. --- lib/bridgedb/Dist.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/bridgedb/Dist.py b/lib/bridgedb/Dist.py index 0b1a149..66ca438 100644 --- a/lib/bridgedb/Dist.py +++ b/lib/bridgedb/Dist.py @@ -106,8 +106,8 @@ class IPBasedDistributor(bridgedb.Bridges.BridgeHolder): ring_cache_size = self.nClusters + len(ipCategories) + 5 self.splitter = bridgedb.Bridges.FilteredBridgeSplitter( key2, max_cached_rings=ring_cache_size) - - logging.debug("added splitter %s" % self.splitter) + logging.debug("Added splitter %s to IPBasedDistributor." + % self.splitter.__class__)
def prepopulateRings(self): # populate all rings (for dumping assignments and testing)
tor-commits@lists.torproject.org