mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-19 11:16:24 +00:00
clean up got_static_announcement() call
This commit is contained in:
parent
2c5f7ed425
commit
b6dedc6223
@ -379,9 +379,9 @@ class Client(node.Node, pollmixin.PollMixin):
|
||||
self.upload_ready_d = helper.when_connected_enough()
|
||||
|
||||
# utilize the loaded static server specifications
|
||||
servers = self.connections_config['servers']
|
||||
for server_key in servers.keys():
|
||||
eventually(self.storage_broker.got_static_announcement, server_key, servers[server_key]['announcement'])
|
||||
for key, server in self.connections_config['servers'].items():
|
||||
eventually(self.storage_broker.got_static_announcement,
|
||||
key, server['announcement'])
|
||||
|
||||
sb.use_introducer(self.introducer_client)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user