From e4f0fa4a316aba2cf2b1a47c9d2974710a1d8bd3 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 14 Aug 2024 09:03:52 -0700 Subject: _EbuildFetcherProcess: Suppress asyncio.CancelledError Fixes: 74e29110d86a ("_EbuildFetcherProcess: Suppress CancelledError") Bug: https://bugs.gentoo.org/937888 Signed-off-by: Zac Medico --- lib/_emerge/EbuildFetcher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/_emerge/EbuildFetcher.py b/lib/_emerge/EbuildFetcher.py index 422d7c0a0..554cd9597 100644 --- a/lib/_emerge/EbuildFetcher.py +++ b/lib/_emerge/EbuildFetcher.py @@ -373,7 +373,7 @@ class _EbuildFetcherProcess(ForkProcess): def cache_result(result): try: self._uri_map = result.result() - except (CancelledError, Exception): + except (asyncio.CancelledError, Exception): # The caller handles this when it retrieves the result. pass -- cgit v1.2.3-65-gdbad