mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-24 07:06:41 +00:00
Also update the introducer's use of read_config
This commit is contained in:
parent
fb4c5cf91f
commit
7e17ffb75d
@ -30,10 +30,7 @@ are set to disallow users other than its owner from reading the contents of
|
||||
the files. See the 'configuration.rst' documentation file for details.
|
||||
"""
|
||||
|
||||
|
||||
def _valid_config_sections():
|
||||
return node._common_config_sections()
|
||||
|
||||
_valid_config = node._common_valid_config
|
||||
|
||||
class FurlFileConflictError(Exception):
|
||||
pass
|
||||
@ -52,7 +49,7 @@ def create_introducer(basedir=u"."):
|
||||
config = read_config(
|
||||
basedir, u"client.port",
|
||||
generated_files=["introducer.furl"],
|
||||
_valid_config_sections=_valid_config_sections,
|
||||
_valid_config=_valid_config(),
|
||||
)
|
||||
|
||||
i2p_provider = create_i2p_provider(reactor, config)
|
||||
|
Loading…
Reference in New Issue
Block a user