mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-06-18 23:38:18 +00:00
more storage_broker refactoring: downloader gets a broker instead of a client,
use Client.get_storage_broker() accessor instead of direct attribute access.
This commit is contained in:
@ -263,6 +263,9 @@ class Client(node.Node, pollmixin.PollMixin):
|
||||
default=True, boolean=True):
|
||||
sb.use_introducer(self.introducer_client)
|
||||
|
||||
def get_storage_broker(self):
|
||||
return self.storage_broker
|
||||
|
||||
def init_stub_client(self):
|
||||
def _publish(res):
|
||||
# we publish an empty object so that the introducer can count how
|
||||
|
Reference in New Issue
Block a user