mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-05-01 16:30:14 +00:00
Remove complicated and dead code
This commit is contained in:
parent
cc6006dcb3
commit
f99b3bdbda
@ -70,10 +70,7 @@ class Node:
|
|||||||
return False
|
return False
|
||||||
|
|
||||||
def decide(self, sharesize):
|
def decide(self, sharesize):
|
||||||
if sharesize > self.capacity:
|
|
||||||
return False
|
return False
|
||||||
return False
|
|
||||||
return random.random() > 0.5
|
|
||||||
|
|
||||||
def make_space(self, sharesize):
|
def make_space(self, sharesize):
|
||||||
assert sharesize <= self.capacity
|
assert sharesize <= self.capacity
|
||||||
|
Loading…
x
Reference in New Issue
Block a user