commit: b58ba964c79f8ec7e450b871059306bbc433a7ca
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 23 19:46:45 2018 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Mon Apr 23 19:46:45 2018 +0000
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=b58ba964
EbuildBuild: pass loop parameter to async_fetch_map
Fixes: db4dca876cdb ("EbuildBuild._start(): fix event loop recursion (bug
653844)")
pym/_emerge/EbuildBuild.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/pym/_emerge/EbuildBuild.py b/pym/_emerge/EbuildBuild.py
index 9651bd419..e5b96691a 100644
--- a/pym/_emerge/EbuildBuild.py
+++ b/pym/_emerge/EbuildBuild.py
@@ -48,7 +48,8 @@ class EbuildBuild(CompositeTask):
self._start_task(
AsyncTaskFuture(
future=self.pkg.root_config.trees["porttree"].dbapi.\
- async_aux_get(self.pkg.cpv, ["SRC_URI"],
myrepo=self.pkg.repo)),
+ async_aux_get(self.pkg.cpv, ["SRC_URI"],
myrepo=self.pkg.repo,
+ loop=self.scheduler)),
self._start_with_metadata)
def _start_with_metadata(self, aux_get_task):