aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2024-08-14 09:03:52 -0700
committerZac Medico <zmedico@gentoo.org>2024-08-14 09:04:34 -0700
commite4f0fa4a316aba2cf2b1a47c9d2974710a1d8bd3 (patch)
treedd43e4bd18bafc420bef892bc93a72ef5eb6ddf1
parentrun_exitfuncs: Drop hooks inherited via fork (diff)
downloadportage-e4f0fa4a316aba2cf2b1a47c9d2974710a1d8bd3.tar.gz
portage-e4f0fa4a316aba2cf2b1a47c9d2974710a1d8bd3.tar.bz2
portage-e4f0fa4a316aba2cf2b1a47c9d2974710a1d8bd3.zip
_EbuildFetcherProcess: Suppress asyncio.CancelledError
Fixes: 74e29110d86a ("_EbuildFetcherProcess: Suppress CancelledError") Bug: https://bugs.gentoo.org/937888 Signed-off-by: Zac Medico <zmedico@gentoo.org>
-rw-r--r--lib/_emerge/EbuildFetcher.py2
1 files changed, 1 insertions, 1 deletions
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