From a076e2fae19068235b9178c6d41612c66df61d36 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 12 Dec 2010 17:55:50 -0800 Subject: [PATCH] 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. --- pym/_emerge/depgraph.py | 1 + 1 file changed, 1 insertion(+) 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. -- 2.26.2