Skip to content

Commit

Permalink
Support sync code breakpointing via built-in
Browse files Browse the repository at this point in the history
Override `breakpoint()` for sync code making it work
properly with `trio` as per:

python-trio/trio#1155 (comment)

Relates to #193
  • Loading branch information
goodboy committed May 31, 2021
1 parent ad9ed19 commit 316667a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tractor/_entry.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}")
Expand Down

0 comments on commit 316667a

Please sign in to comment.