Gentoo Archives: gentoo-commits

From: Zac Medico <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/portage:master commit in: pym/portage/_emirrordist/
Date: Wed, 25 Apr 2018 07:30:32
Message-Id: 1524641324.a7c8ddd9968741fd51ba21500a9f6b9ef27bef15.zmedico@gentoo
1 commit: a7c8ddd9968741fd51ba21500a9f6b9ef27bef15
2 Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
3 AuthorDate: Wed Apr 25 07:28:44 2018 +0000
4 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
5 CommitDate: Wed Apr 25 07:28:44 2018 +0000
6 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=a7c8ddd9
7
8 FetchTask._fetch_uri: use _async_wait() (bug 591760)
9
10 Use _async_wait() to avoid event loop recursion in
11 emirrordist --dry-run mode.
12
13 Bug: https://bugs.gentoo.org/591760
14
15 pym/portage/_emirrordist/FetchTask.py | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
17
18 diff --git a/pym/portage/_emirrordist/FetchTask.py b/pym/portage/_emirrordist/FetchTask.py
19 index 47908cb6b..1440b697c 100644
20 --- a/pym/portage/_emirrordist/FetchTask.py
21 +++ b/pym/portage/_emirrordist/FetchTask.py
22 @@ -404,7 +404,7 @@ class FetchTask(CompositeTask):
23 (self.distfile, uri))
24 self._success()
25 self.returncode = os.EX_OK
26 - self.wait()
27 + self._async_wait()
28 return
29
30 if self.config.options.temp_dir: