commit:     508c7667bb0755c9f72b443879dcf7f631434fda
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 23 19:51:09 2018 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Mon Apr 23 19:53:47 2018 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=508c7667

portdbapi.async_fetch_map: pass loop to async_aux_get

Fixes: 8002d9343c38 ("portdbapi: add async_fetch_map method (bug 653810)")

 pym/portage/dbapi/porttree.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pym/portage/dbapi/porttree.py b/pym/portage/dbapi/porttree.py
index 3cd929963..8a5fc690c 100644
--- a/pym/portage/dbapi/porttree.py
+++ b/pym/portage/dbapi/porttree.py
@@ -783,7 +783,7 @@ class portdbapi(dbapi):
                                {'EAPI':eapi,'SRC_URI':myuris}, use=useflags))
 
                aux_get_future = self.async_aux_get(
-                       mypkg, ["EAPI", "SRC_URI"], mytree=mytree)
+                       mypkg, ["EAPI", "SRC_URI"], mytree=mytree, loop=loop)
                result.add_done_callback(lambda result:
                        aux_get_future.cancel() if result.cancelled() else None)
                aux_get_future.add_done_callback(aux_get_done)

Reply via email to