From 85be3a449c4957b3bff160b064553155bb8bddd2 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 61fa0c57b..dcf7aa576 100644 --- a/tractor/_trionics.py +++ b/tractor/_trionics.py @@ -132,7 +132,9 @@ async def run_in_actor( 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