Skip to content

Commit

Permalink
Remove dumpAssignments() for all Distributors.
Browse files Browse the repository at this point in the history
These methods were never used.  Hashrings dump the bridges assigned to
them.
  • Loading branch information
isislovecruft committed Apr 19, 2015
1 parent 999fb72 commit 35ce312
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions lib/bridgedb/Dist.py
Expand Up @@ -346,9 +346,6 @@ def getBridges(self, bridgeRequest, interval):

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
Expand Down Expand Up @@ -482,9 +479,6 @@ def cleanDatabase(self):
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]:
Expand Down

0 comments on commit 35ce312

Please sign in to comment.