From e9dfb3c39141a922404d98d23d4c43b31928c429 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 1 Jun 2008 04:27:55 +0000 Subject: [PATCH] Revert changes wrt argument atoms in the previous commit since it's not really useful. svn path=/main/trunk/; revision=10528 --- pym/_emerge/__init__.py | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index 7294e78cd..ee284170a 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -5269,13 +5269,6 @@ class depgraph(object): if not isinstance(mergelist, list): mergelist = [] - favorites = resume_data.get("favorites") - args_set = self._sets["args"] - if isinstance(favorites, list): - args = self._load_favorites(favorites) - else: - args = [] - skipfirst = "--skipfirst" in self.myopts fakedb = self.mydbapi trees = self.trees @@ -5315,9 +5308,7 @@ class depgraph(object): if "merge" == pkg.operation and \ not visible(root_config.settings, pkg): if skipfirst: - atom = args_set.findAtomForPackage(pkg) - masked_tasks.append(Dependency(atom=atom, - root=pkg.root, parent=pkg)) + masked_tasks.append(Dependency(root=pkg.root, parent=pkg)) else: self._unsatisfied_deps_for_display.append( ((pkg.root, "="+pkg.cpv), {"myparent":None})) @@ -5335,6 +5326,13 @@ class depgraph(object): self._select_package = self._select_pkg_from_graph self.myparams.add("selective") + favorites = resume_data.get("favorites") + args_set = self._sets["args"] + if isinstance(favorites, list): + args = self._load_favorites(favorites) + else: + args = [] + for task in serialized_tasks: if isinstance(task, Package) and \ task.operation == "merge": -- 2.26.2