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

svn path=/main/branches/2.1.6/; revision=12489

pym/_emerge/__init__.py

index b850e948364c09f35c1717e8910601fde27b8303..5a00510a6a705787373ff8dcf70433b8e6748d3f 100644 (file)
@@ -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: