diff options
author | 2010-05-20 16:45:24 -0700 | |
---|---|---|
committer | 2010-05-20 16:45:24 -0700 | |
commit | f4097bd5e52c9c546a6092b8ed5c0d918320a054 (patch) | |
tree | 41b5e9cfabb9f0684149079def566dc0eb66560c | |
parent | Use Atom.unevaluated_atom in depgraph._show_slot_collision_notice() (diff) | |
download | portage-idfetch-f4097bd5e52c9c546a6092b8ed5c0d918320a054.tar.gz portage-idfetch-f4097bd5e52c9c546a6092b8ed5c0d918320a054.tar.bz2 portage-idfetch-f4097bd5e52c9c546a6092b8ed5c0d918320a054.zip |
Make the non --update package selection logic avoid installed packages if
they are masked. Thanks to Daniel Robbins for reporting.
-rw-r--r-- | pym/_emerge/depgraph.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index ecc321c0..c102a7a2 100644 --- a/pym/_emerge/depgraph.py +++ b/pym/_emerge/depgraph.py @@ -2715,7 +2715,7 @@ class depgraph(object): if avoid_update: for pkg in matched_packages: - if pkg.installed: + if pkg.installed and pkg.visible: return pkg, existing_node bestmatch = portage.best( |