mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-20 17:52:50 +00:00
merge patch to integrate decentralized directories with patch to "only test log.err when Twisted is new enough to let us ignore the generated errors"
This commit is contained in:
parent
cc1612aee5
commit
2c58d3399c
@ -757,7 +757,7 @@ class Publish:
|
||||
# 4a: may need to run recovery algorithm
|
||||
# 5: when enough responses are back, we're done
|
||||
|
||||
self.log("starting publish, data is %r" % (newdata,))
|
||||
self.log("got enough peers, datalen is %s" % len(newdata))
|
||||
|
||||
self._writekey = self._node.get_writekey()
|
||||
assert self._writekey, "need write capability to publish"
|
||||
|
@ -111,8 +111,9 @@ class FakeClient:
|
||||
self._num_peers = num_peers
|
||||
self._peerids = [tagged_hash("peerid", "%d" % i)[:20]
|
||||
for i in range(self._num_peers)]
|
||||
def log(self, msg):
|
||||
log.msg(msg)
|
||||
self.introducer_client = FakeIntroducerClient()
|
||||
def log(self, msg, **kw):
|
||||
return log.msg(msg, **kw)
|
||||
|
||||
def get_renewal_secret(self):
|
||||
return "I hereby permit you to renew my files"
|
||||
|
Loading…
x
Reference in New Issue
Block a user