diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-12-12 17:55:50 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-12-12 17:55:50 -0800 |
commit | a076e2fae19068235b9178c6d41612c66df61d36 (patch) | |
tree | d515777faed7c664836e0cf13dacc8841e89de72 | |
parent | 06ea3c8b3e8f9b6a6abd700000a16608f8a6db4f (diff) | |
download | portage-a076e2fae19068235b9178c6d41612c66df61d36.tar.gz portage-a076e2fae19068235b9178c6d41612c66df61d36.tar.bz2 portage-a076e2fae19068235b9178c6d41612c66df61d36.zip |
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.
-rw-r--r-- | pym/_emerge/depgraph.py | 1 |
1 files changed, 1 insertions, 0 deletions
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. |