mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-21 02:01:31 +00:00
more new-pyflakes warnings fixed
This commit is contained in:
parent
50bc0d2fb3
commit
2db158dd52
@ -29,9 +29,6 @@ class FakeFilenode(mutable.MutableFileNode):
|
||||
def init_from_uri(self, myuri):
|
||||
mutable.MutableFileNode.init_from_uri(self, myuri)
|
||||
return self
|
||||
def replace(self, newdata, wait_for_numpeers=None):
|
||||
self.all_contents[self.get_uri()] = newdata
|
||||
return defer.succeed(self)
|
||||
def _generate_pubprivkeys(self):
|
||||
count = self.counter.next()
|
||||
return FakePubKey(count), FakePrivKey(count)
|
||||
|
Loading…
x
Reference in New Issue
Block a user