diff options
author | Zac Medico <zmedico@gentoo.org> | 2020-04-07 22:03:56 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2020-04-07 22:29:49 -0700 |
commit | acd8f3a3841f3be50d4d649bb7180e3e0c77acfc (patch) | |
tree | 4afbbef8b209e6991a0ba3d044a415830e3a75ed | |
parent | Revert "AsyncScheduler: use async_start method" (diff) | |
download | portage-acd8f3a3841f3be50d4d649bb7180e3e0c77acfc.tar.gz portage-acd8f3a3841f3be50d4d649bb7180e3e0c77acfc.tar.bz2 portage-acd8f3a3841f3be50d4d649bb7180e3e0c77acfc.zip |
Revert "AsynchronousTask: Call _start_hook after _start_async"
This reverts commit 036c644712c36b2d67e818e6f60aa753ebd6acaf.
Bug: https://bugs.gentoo.org/716636
Signed-off-by: Zac Medico <zmedico@gentoo.org>
-rw-r--r-- | lib/_emerge/AsynchronousTask.py | 4 |
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 |