aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2020-04-07 21:51:23 -0700
committerZac Medico <zmedico@gentoo.org>2020-04-07 22:29:46 -0700
commit4122a1e12884288e1d578a0cc8cfb400f00b8199 (patch)
tree1be8581aecbed2803fb787c8c48f35c4dad3b795 /lib
parentRevert "EbuildBuildDir: cancel current tasks for CancelledError" (diff)
downloadportage-4122a1e12884288e1d578a0cc8cfb400f00b8199.tar.gz
portage-4122a1e12884288e1d578a0cc8cfb400f00b8199.tar.bz2
portage-4122a1e12884288e1d578a0cc8cfb400f00b8199.zip
Revert "AsyncScheduler: cancel task after _task_coroutine CancelledError"
This reverts commit 27a6ee3d09ff79b6addb2696a10fcc3f46e5ca91. Bug: https://bugs.gentoo.org/716636 Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/portage/util/_async/AsyncScheduler.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/portage/util/_async/AsyncScheduler.py b/lib/portage/util/_async/AsyncScheduler.py
index c31bda5f2..b9070061a 100644
--- a/lib/portage/util/_async/AsyncScheduler.py
+++ b/lib/portage/util/_async/AsyncScheduler.py
@@ -86,7 +86,6 @@ class AsyncScheduler(AsynchronousTask, PollScheduler):
try:
future.result()
except asyncio.CancelledError:
- task.cancel()
self.cancel()
self._task_exit(task)