aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/_emerge/EbuildPhase.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/_emerge/EbuildPhase.py b/lib/_emerge/EbuildPhase.py
index 63d0746da..f6b380e05 100644
--- a/lib/_emerge/EbuildPhase.py
+++ b/lib/_emerge/EbuildPhase.py
@@ -458,7 +458,7 @@ class _PostPhaseCommands(CompositeTask):
# This operates on REQUIRES metadata generated by the above function call.
future = self._soname_deps_qa()
# If an unexpected exception occurs, then this will raise it.
- future.add_done_callback(lambda future: future.result())
+ future.add_done_callback(lambda future: future.cancelled() or future.result())
self._start_task(AsyncTaskFuture(future=future), self._default_final_exit)
else:
self._default_final_exit(task)