From a697c98e010b92c9da13060fd9a173136d67cc08 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 31 Oct 2007 01:35:17 +0000 Subject: [PATCH] Remove a few unused depgraph attributes. svn path=/main/trunk/; revision=8345 --- pym/_emerge/__init__.py | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index b488b1943..1aaa0d04c 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -1169,13 +1169,10 @@ class depgraph(object): "--getbinpkgonly" in self.myopts) del trees - self.missingbins=[] self.digraph=portage.digraph() # Tracks simple parent/child relationships (PDEPEND relationships are # not reversed). self._parent_child_digraph = digraph() - self.orderedkeys=[] - self.outdatedpackages=[] # contains all sets added to the graph self._sets = {} # contains atoms given as arguments @@ -1200,7 +1197,6 @@ class depgraph(object): self._required_set_names = set(["args", "system", "world"]) self._select_atoms = self._select_atoms_highest_available self._select_package = self._select_pkg_highest_available - self._required_set_missing_atoms = set() def _show_slot_collision_notice(self, packages): """Show an informational message advising the user to mask one of the @@ -6182,15 +6178,6 @@ def action_build(settings, trees, mtimedb, if "--quiet" not in myopts and "--nodeps" not in myopts: print "\b\b... done!" - if ("--usepkgonly" in myopts) and mydepgraph.missingbins: - sys.stderr.write(red("The following binaries are not available for merging...\n")) - - if mydepgraph.missingbins: - for x in mydepgraph.missingbins: - sys.stderr.write(" "+str(x)+"\n") - sys.stderr.write("\nThese are required by '--usepkgonly' -- Terminating.\n\n") - return 1 - if "--pretend" not in myopts and \ ("--ask" in myopts or "--tree" in myopts or \ "--verbose" in myopts) and \ -- 2.26.2