From adeee08d037cb986d5991224d1cea8897cc298bd 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 79b1437..6af4a35 100644 --- a/tractor/_entry.py +++ b/tractor/_entry.py @@ -69,8 +69,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}")