Gentoo Archives: gentoo-commits

From: "Zac Medico (zmedico)" <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] portage r12489 - main/branches/2.1.6/pym/_emerge
Date: Mon, 12 Jan 2009 17:37:12
Message-Id: E1LMQiq-00065b-BD@stork.gentoo.org
1 Author: zmedico
2 Date: 2009-01-12 17:37:07 +0000 (Mon, 12 Jan 2009)
3 New Revision: 12489
4
5 Modified:
6 main/branches/2.1.6/pym/_emerge/__init__.py
7 Log:
8 Mention the blocker_lookahead parameter in the depgraph._greedy_slots()
9 docstring. (trunk r12488)
10
11 Modified: main/branches/2.1.6/pym/_emerge/__init__.py
12 ===================================================================
13 --- main/branches/2.1.6/pym/_emerge/__init__.py 2009-01-12 17:36:54 UTC (rev 12488)
14 +++ main/branches/2.1.6/pym/_emerge/__init__.py 2009-01-12 17:37:07 UTC (rev 12489)
15 @@ -5624,10 +5624,10 @@
16 def _greedy_slots(self, root_config, atom, blocker_lookahead=False):
17 """
18 Return a list of slot atoms corresponding to installed slots that
19 - differ from the slot of the highest visible match. Slot atoms that
20 - would trigger a blocker conflict are automatically discarded,
21 - potentially allowing automatic uninstallation of older slots when
22 - appropriate.
23 + differ from the slot of the highest visible match. When
24 + blocker_lookahead is True, slot atoms that would trigger a blocker
25 + conflict are automatically discarded, potentially allowing automatic
26 + uninstallation of older slots when appropriate.
27 """
28 highest_pkg, in_graph = self._select_package(root_config.root, atom)
29 if highest_pkg is None: