forked from goodboy/tractor
1
0
Fork 0

Fix lock context manager return type

ctx_debugger
Tyler Goodlet 2021-07-31 12:50:58 -04:00
parent b3d28a1ee4
commit 0afa7f0f8e
1 changed files with 3 additions and 1 deletions

View File

@ -123,7 +123,9 @@ class PdbwTeardown(pdbpp.Pdb):
@asynccontextmanager
async def _acquire_debug_lock(uid: Tuple[str, str]) -> AsyncIterator[None]:
async def _acquire_debug_lock(
uid: Tuple[str, str]
) -> AsyncIterator[trio.StrictFIFOLock]:
'''Acquire a actor local FIFO lock meant to mutex entry to a local
debugger entry point to avoid tty clobbering a global root process.