aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/_emerge/AsynchronousTask.py')
-rw-r--r--lib/_emerge/AsynchronousTask.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/_emerge/AsynchronousTask.py b/lib/_emerge/AsynchronousTask.py
index 962c68547..b25a146c7 100644
--- a/lib/_emerge/AsynchronousTask.py
+++ b/lib/_emerge/AsynchronousTask.py
@@ -25,8 +25,8 @@ class AsynchronousTask(SlotObject):
@coroutine
def async_start(self):
- yield self._async_start()
self._start_hook()
+ yield self._async_start()
@coroutine
def _async_start(self):
@@ -38,8 +38,8 @@ class AsynchronousTask(SlotObject):
"""
Start an asynchronous task and then return as soon as possible.
"""
- self._start()
self._start_hook()
+ self._start()
def _start(self):
self.returncode = os.EX_OK