summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-01-12 17:36:54 +0000
committerZac Medico <zmedico@gentoo.org>2009-01-12 17:36:54 +0000
commitf9ab31d01f4cf9df34d900728a3b47f089e12e57 (patch)
tree82f2230225e4bc048af8707e3fa4f18a1fc1e389
parentWhen checking for conflicts between packages inside depgraph._greedy_slots(), (diff)
downloadportage-multirepo-f9ab31d01f4cf9df34d900728a3b47f089e12e57.tar.gz
portage-multirepo-f9ab31d01f4cf9df34d900728a3b47f089e12e57.tar.bz2
portage-multirepo-f9ab31d01f4cf9df34d900728a3b47f089e12e57.zip
Mention the blocker_lookahead parameter in the depgraph._greedy_slots()
docstring. svn path=/main/trunk/; revision=12488
-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 9120cf80..1bf5a951 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -5640,10 +5640,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: