Use `is not None` check for peer-connect `event`

Matches the explicit `dict.pop(uid, None)` contract one
line above; same semantics as the prior truthy check.

(this commit msg was generated in some part by [`claude-code`][claude-code-gh])
[claude-code-gh]: https://github.com/anthropics/claude-code
trio_0.33.0_support
Gud Boi 2026-05-29 18:18:41 -04:00
parent c7741bbac3
commit 0e3e008b0c
1 changed files with 1 additions and 1 deletions

View File

@ -398,7 +398,7 @@ async def handle_stream_from_peer(
uid,
None,
)
if event:
if event is not None:
con_status_steps += (
' -> Waking subactor spawn waiters: '
f'{event.statistics().tasks_waiting}\n'