Daemon main doesn't require brokermod anymore

kivy_mainline_and_py3.8
Tyler Goodlet 2018-04-19 01:29:14 -04:00
parent 4123139750
commit 90e8dd911c
1 changed files with 3 additions and 2 deletions

View File

@ -333,8 +333,9 @@ async def start_quoter(stream: trio.SocketStream) -> None:
await client.__aexit__() await client.__aexit__()
async def _daemon_main(brokermod: ModuleType) -> None: async def _daemon_main() -> None:
"""Entry point for the broker daemon. """Entry point for the broker daemon which waits for connections
before spawning micro-services.
""" """
async with trio.open_nursery() as nursery: async with trio.open_nursery() as nursery:
listeners = await nursery.start( listeners = await nursery.start(