diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-05-20 16:45:24 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-05-20 16:45:24 -0700 |
commit | f4097bd5e52c9c546a6092b8ed5c0d918320a054 (patch) | |
tree | 41b5e9cfabb9f0684149079def566dc0eb66560c | |
parent | 2361ed95f62da3dde8c096adee49058f4a6c65a4 (diff) | |
download | portage-f4097bd5e52c9c546a6092b8ed5c0d918320a054.tar.gz portage-f4097bd5e52c9c546a6092b8ed5c0d918320a054.tar.bz2 portage-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 ecc321c05..c102a7a2d 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( |