From 4b28146f1d0bbe35009879955b79d2d2d1900789 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 3 Apr 2008 22:40:56 +0000 Subject: [PATCH] Eliminate a redundant atom from the --update greedy slot expansion code. svn path=/main/trunk/; revision=9695 --- pym/_emerge/__init__.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index 8b6ee4add..117bc448b 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -1990,9 +1990,6 @@ class depgraph(object): myslots.add(vardb.aux_get(cpv, ["SLOT"])[0]) for myslot in myslots: yield "%s:%s" % (mykey, myslot) - # In addition to any installed slots, also try to pull - # in the latest new slot that may be available. - yield atom def _iter_args_for_pkg(self, pkg): # TODO: add multiple $ROOT support @@ -2221,6 +2218,8 @@ class depgraph(object): # atoms could be a property of the set itself. greedy_atoms = [] for arg in args: + # In addition to any installed slots, also try to pull + # in the latest new slot that may be available. greedy_atoms.append(arg) if not isinstance(arg, (AtomArg, PackageArg)): continue -- 2.26.2