commit 69becd92ceb3b55777acddbe4734f7aa912cb425 Author: Isis Lovecruft isis@torproject.org Date: Sun Apr 19 04:49:24 2015 +0000
Remove dumpAssignments() for all Distributors.
These methods were never used. Hashrings dump the bridges assigned to them. --- lib/bridgedb/Dist.py | 6 ------ 1 file changed, 6 deletions(-)
diff --git a/lib/bridgedb/Dist.py b/lib/bridgedb/Dist.py index e149d17..fe6b8da 100644 --- a/lib/bridgedb/Dist.py +++ b/lib/bridgedb/Dist.py @@ -346,9 +346,6 @@ class HTTPSDistributor(Distributor):
return answer
- def dumpAssignments(self, f, description=""): - self.hashring.dumpAssignments(f, description) -
class EmailBasedDistributor(Distributor): """Object that hands out bridges based on the email address of an incoming @@ -483,9 +480,6 @@ class EmailBasedDistributor(Distributor): else: db.commit()
- def dumpAssignments(self, f, description=""): - self.hashring.dumpAssignments(f, description) - def prepopulateRings(self): # populate all rings (for dumping assignments and testing) for filterFn in [filterBridgesByIP4, filterBridgesByIP6]:
tor-commits@lists.torproject.org