Mention the blocker_lookahead parameter in the depgraph._greedy_slots()
authorZac Medico <zmedico@gentoo.org>
Mon, 12 Jan 2009 17:36:54 +0000 (17:36 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 12 Jan 2009 17:36:54 +0000 (17:36 -0000)
docstring.

svn path=/main/trunk/; revision=12488

pym/_emerge/__init__.py

index 9120cf8045b4da3016fa652aa3a04930c3ba6118..1bf5a9514bc4a946ef94e8e15dff5288358efb55 100644 (file)
@@ -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: