Skip to content

Commit

Permalink
Remove IPBasedDistributor.clear() and EmailBasedDistributor.clear().
Browse files Browse the repository at this point in the history
These were never used anywhere.
  • Loading branch information
isislovecruft committed Apr 10, 2015
1 parent d23edaf commit 1bb5b72
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions lib/bridgedb/Dist.py
Expand Up @@ -268,9 +268,6 @@ def prepopulateRings(self):
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)
Expand Down Expand Up @@ -410,10 +407,6 @@ def __init__(self, key, domainmap, domainrules,

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)
Expand Down

0 comments on commit 1bb5b72

Please sign in to comment.