mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-19 13:07:56 +00:00
Remove complicated and dead code
This commit is contained in:
parent
cc6006dcb3
commit
f99b3bdbda
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user