From: "Zac Medico (zmedico)" <zmedico@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] portage r10986 - main/trunk/pym/_emerge
Date: Tue, 08 Jul 2008 16:59:41 +0000 [thread overview]
Message-ID: <E1KGGXV-0001rf-Ln@stork.gentoo.org> (raw)
Author: zmedico
Date: 2008-07-08 16:59:40 +0000 (Tue, 08 Jul 2008)
New Revision: 10986
Modified:
main/trunk/pym/_emerge/__init__.py
Log:
Fix infinite loop in CompositeTask._wait().
Modified: main/trunk/pym/_emerge/__init__.py
===================================================================
--- main/trunk/pym/_emerge/__init__.py 2008-07-08 10:49:02 UTC (rev 10985)
+++ main/trunk/pym/_emerge/__init__.py 2008-07-08 16:59:40 UTC (rev 10986)
@@ -1579,11 +1579,14 @@
def _wait(self):
+ prev = None
while True:
task = self._current_task
- if task is None:
+ if task is None or task is prev:
+ # don't wait for the same task more than once
break
task.wait()
+ prev = task
return self.returncode
--
gentoo-commits@lists.gentoo.org mailing list
reply other threads:[~2008-07-08 16:59 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1KGGXV-0001rf-Ln@stork.gentoo.org \
--to=zmedico@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox