aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/_emerge/SpawnProcess.py')
-rw-r--r--lib/_emerge/SpawnProcess.py9
1 files changed, 2 insertions, 7 deletions
diff --git a/lib/_emerge/SpawnProcess.py b/lib/_emerge/SpawnProcess.py
index 941b56683..aef000e22 100644
--- a/lib/_emerge/SpawnProcess.py
+++ b/lib/_emerge/SpawnProcess.py
@@ -155,13 +155,8 @@ class SpawnProcess(SubProcess):
@coroutine
def _main(self, pipe_logger):
- try:
- if pipe_logger.poll() is None:
- yield pipe_logger.async_wait()
- except asyncio.CancelledError:
- if pipe_logger.poll() is None:
- pipe_logger.cancel()
- raise
+ if pipe_logger.poll() is None:
+ yield pipe_logger.async_wait()
def _main_exit(self, main_task):
try: