Remove complicated and dead code

This commit is contained in:
Jean-Paul Calderone 2018-04-26 14:58:40 -04:00
parent cc6006dcb3
commit f99b3bdbda

View File

@ -70,10 +70,7 @@ class Node:
return False
def decide(self, sharesize):
if sharesize > self.capacity:
return False
return False
return random.random() > 0.5
def make_space(self, sharesize):
assert sharesize <= self.capacity