aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/_emerge/CompositeTask.py')
-rw-r--r--lib/_emerge/CompositeTask.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/_emerge/CompositeTask.py b/lib/_emerge/CompositeTask.py
index 2ad1d783d..21129758a 100644
--- a/lib/_emerge/CompositeTask.py
+++ b/lib/_emerge/CompositeTask.py
@@ -119,7 +119,7 @@ class CompositeTask(AsynchronousTask):
try:
future.result()
except asyncio.CancelledError:
- self.cancel()
+ self.cancelled = True
self._was_cancelled()
self._async_wait()