From: Zac Medico Date: Mon, 13 Dec 2010 01:55:50 +0000 (-0800) Subject: loadResumeCommand: select first matched package X-Git-Tag: v2.2.0_alpha8~2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a076e2fae19068235b9178c6d41612c66df61d36;p=portage.git loadResumeCommand: select first matched package We need to break out of the loop after the first match here, since the first package comes from the highest priority repo. --- diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index 858a9d46b..4aec743b5 100644 --- a/pym/_emerge/depgraph.py +++ b/pym/_emerge/depgraph.py @@ -5132,6 +5132,7 @@ class depgraph(object): self._frozen_config.excluded_pkgs.findAtomForPackage(pkg, modified_use=self._pkg_use_enabled(pkg)): continue + break if pkg is None: # It does no exist or it is corrupt.