mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-06-19 07:48:11 +00:00
node.py: change get_or_create_config() to accept a function
This commit is contained in:
@ -103,6 +103,8 @@ class Client(node.Node, Referenceable):
|
||||
def tub_ready(self):
|
||||
self.log("tub_ready")
|
||||
|
||||
# we use separate get_config/write_config here because we want to
|
||||
# update the connection hints each time.
|
||||
my_old_name = None
|
||||
my_old_furl = self.get_config("myself.furl")
|
||||
if my_old_furl is not None:
|
||||
|
Reference in New Issue
Block a user