From 6533285d7d157f6d51f62f57db9ba8954a1f541b Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Tue, 12 Mar 2024 08:56:17 -0400 Subject: [PATCH] Add `an: ActorNursery` var placeholder for final log msg --- tractor/_supervise.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tractor/_supervise.py b/tractor/_supervise.py index ad007ae..50f0d5e 100644 --- a/tractor/_supervise.py +++ b/tractor/_supervise.py @@ -533,10 +533,8 @@ async def open_nursery( ''' implicit_runtime: bool = False - actor: Actor = current_actor( - err_on_no_runtime=False - ) - + actor: Actor = current_actor(err_on_no_runtime=False) + an: ActorNursery|None = None try: if ( actor is None