From 73e123bac7bc30a25069fe6badc55d239e0eb49d Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Wed, 28 Apr 2021 22:10:59 -0400 Subject: [PATCH] Fix line length --- tractor/_trionics.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tractor/_trionics.py b/tractor/_trionics.py index 61fa0c5..dcf7aa5 100644 --- a/tractor/_trionics.py +++ b/tractor/_trionics.py @@ -132,7 +132,9 @@ class ActorNursery: portal = await self.start_actor( name, - enable_modules=[mod_path] + (enable_modules or rpc_module_paths or []), + enable_modules=[mod_path] + ( + enable_modules or rpc_module_paths or [] + ), bind_addr=bind_addr, loglevel=loglevel, # use the run_in_actor nursery @@ -367,7 +369,6 @@ async def open_nursery( async with _open_and_supervise_one_cancels_all_nursery( actor ) as anursery: - yield anursery else: # sub-nursery case