From 5968f6010340cf5145cf2bcf3e5916f568f14faa Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Mon, 15 Feb 2021 19:23:53 -0500 Subject: [PATCH] Support sync code breakpointing via built-in Override `breakpoint()` for sync code making it work properly with `trio` as per: https://github.com/python-trio/trio/issues/1155#issuecomment-742964018 Relates to #193 --- tractor/_entry.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/tractor/_entry.py b/tractor/_entry.py index caf1a31..3c8ce27 100644 --- a/tractor/_entry.py +++ b/tractor/_entry.py @@ -73,8 +73,6 @@ def _trio_main( log.info(f"Started new trio process for {actor.uid}") - log.info(f"Started new trio process for {actor.uid}") - if actor.loglevel is not None: log.info( f"Setting loglevel for {actor.uid} to {actor.loglevel}")