summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-01-12 17:37:07 +0000
committerZac Medico <zmedico@gentoo.org>2009-01-12 17:37:07 +0000
commitd838d2a39e76027659a69a3ec5104bcc188c74ac (patch)
tree3973dffbce0df16cb9eab72d307c861044096d20
parentWhen checking for conflicts between packages inside depgraph._greedy_slots(), (diff)
downloadportage-multirepo-d838d2a39e76027659a69a3ec5104bcc188c74ac.tar.gz
portage-multirepo-d838d2a39e76027659a69a3ec5104bcc188c74ac.tar.bz2
portage-multirepo-d838d2a39e76027659a69a3ec5104bcc188c74ac.zip
Mention the blocker_lookahead parameter in the depgraph._greedy_slots()
docstring. (trunk r12488) svn path=/main/branches/2.1.6/; revision=12489
-rw-r--r--pym/_emerge/__init__.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py
index b850e948..5a00510a 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -5624,10 +5624,10 @@ class depgraph(object):
def _greedy_slots(self, root_config, atom, blocker_lookahead=False):
"""
Return a list of slot atoms corresponding to installed slots that
- differ from the slot of the highest visible match. Slot atoms that
- would trigger a blocker conflict are automatically discarded,
- potentially allowing automatic uninstallation of older slots when
- appropriate.
+ differ from the slot of the highest visible match. When
+ blocker_lookahead is True, slot atoms that would trigger a blocker
+ conflict are automatically discarded, potentially allowing automatic
+ uninstallation of older slots when appropriate.
"""
highest_pkg, in_graph = self._select_package(root_config.root, atom)
if highest_pkg is None: