projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06ea3c8
)
loadResumeCommand: select first matched package
author
Zac Medico
<zmedico@gentoo.org>
Mon, 13 Dec 2010 01:55:50 +0000
(17:55 -0800)
committer
Zac Medico
<zmedico@gentoo.org>
Mon, 13 Dec 2010 01:55:50 +0000
(17:55 -0800)
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
patch
|
blob
|
history
diff --git
a/pym/_emerge/depgraph.py
b/pym/_emerge/depgraph.py
index 858a9d46ba1866a9516276c8d8db4023feef6589..4aec743b54eb7256e895bb69fecde61025ad67fc 100644
(file)
--- 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.