mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-19 11:16:24 +00:00
Simplify handler initialization
This commit is contained in:
parent
49330d1e4a
commit
b77f43e360
@ -669,8 +669,6 @@ def create_connection_handlers(config, i2p_provider, tor_provider):
|
||||
# create that handler, so hints which want it will be ignored.
|
||||
handlers = {
|
||||
"tcp": _make_tcp_handler(),
|
||||
}
|
||||
handlers.update({
|
||||
"tor": tor_provider.get_tor_handler(),
|
||||
"i2p": i2p_provider.get_i2p_handler(),
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user