commit de631604e282c92bc3f54e56cfa0faa3416503b4 Author: Isis Lovecruft isis@torproject.org Date: Fri Apr 10 07:14:12 2015 +0000
Remove IPBasedDistributor.clear() and EmailBasedDistributor.clear().
These were never used anywhere. --- lib/bridgedb/Dist.py | 7 ------- 1 file changed, 7 deletions(-)
diff --git a/lib/bridgedb/Dist.py b/lib/bridgedb/Dist.py index 127004a..770198a 100644 --- a/lib/bridgedb/Dist.py +++ b/lib/bridgedb/Dist.py @@ -268,9 +268,6 @@ class IPBasedDistributor(Distributor): filterBridgesByRules(filters), populate_from=self.splitter.bridges)
- def clear(self): - self.splitter.clear() - def insert(self, bridge): """Assign a bridge to this distributor.""" self.splitter.insert(bridge) @@ -410,10 +407,6 @@ class EmailBasedDistributor(Distributor):
self.setDistributorName('Email')
- def clear(self): - self.splitter.clear() - #self.ring.clear() # should be take care of by above - def insert(self, bridge): """Assign a bridge to this distributor.""" self.splitter.insert(bridge)
tor-commits@lists.torproject.org