From: "Zac Medico (zmedico)" <zmedico@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] portage r12421 - main/trunk/pym/_emerge
Date: Sat, 10 Jan 2009 23:01:24 +0000 [thread overview]
Message-ID: <E1LLmpY-0000Fv-C9@stork.gentoo.org> (raw)
Author: zmedico
Date: 2009-01-10 23:01:22 +0000 (Sat, 10 Jan 2009)
New Revision: 12421
Modified:
main/trunk/pym/_emerge/__init__.py
Log:
When displaying parents of unsolved blockers, prefer parents that are not
directly involved in a conflict.
Modified: main/trunk/pym/_emerge/__init__.py
===================================================================
--- main/trunk/pym/_emerge/__init__.py 2009-01-10 22:26:11 UTC (rev 12420)
+++ main/trunk/pym/_emerge/__init__.py 2009-01-10 23:01:22 UTC (rev 12421)
@@ -7264,12 +7264,12 @@
pruned_list = set()
- # Prefer conflict packages over others.
+ # Prefer packages that are not directly involved in a conflict.
for parent_atom in parent_atoms:
if len(pruned_list) >= max_parents:
break
parent, atom = parent_atom
- if parent in conflict_pkgs:
+ if parent not in conflict_pkgs:
pruned_list.add(parent_atom)
for parent_atom in parent_atoms:
reply other threads:[~2009-01-10 23:01 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=E1LLmpY-0000Fv-C9@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